https://codesandbox.io/embed/j30o67kpxy
React shows warning in console if I use React.Fragment
```
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
```
const validType =
    typeof type === 'string' ||
    typeof type === 'function' ||
    typeof type === 'symbol' ||
    typeof type === 'number';
  
  
  if (!validType) {
    let info = '';
    if (
      type === undefined ||
      (typeof type === 'object' &&
        type !== null &&
        Object.keys(type).length === 0)
    ) {
      info +=
        ' You likely forgot to export your component from the file ' +
        "it's defined in, or you might have mixed up default and named imports.";
    }
    const sourceInfo = getSourceInfoErrorAddendum(props);
    if (sourceInfo) {
      info += sourceInfo;
    } else {
      info += getDeclarationErrorAddendum();
    }
    info += getStackAddendum() || '';
    warning(
      false,
      'React.createElement: type is invalid -- expected a string (for ' +