Open samhh opened 6 years ago
As of 16.2.0 React has Fragments, and JSX has some sugar for them like so: <Fragment> becomes <>.
<Fragment>
<>
This is presently broken as it requires Babel upgrades.
Ran into some issues wrt scoped Babel packages when trying to fix this before, may be blocked, needs investigation.
babel-core bridge version may address this per: https://github.com/babel/babel/issues/6824#issuecomment-344327945
As of 16.2.0 React has Fragments, and JSX has some sugar for them like so:
<Fragment>
becomes<>
.This is presently broken as it requires Babel upgrades.
Ran into some issues wrt scoped Babel packages when trying to fix this before, may be blocked, needs investigation.