Add support for new JSX transform
Created by: iansu
There's a new experimental replacement for createElement
and we should add support for it: https://babeljs.io/blog/2020/03/16/7.9.0#a-new-jsx-transform-11154-https-githubcom-babel-babel-pull-11154
Unfortunately Babel does not automatically detect your React version so we will have to do that ourselves and only enable this for React 17+. Here's how Next.js implemented this: https://github.com/vercel/next.js/pull/16603