What's missing? Just an upgrade?
As I can see, yes you are right.
Based on the linked article I think Razzle should be updated to the next major stable release of Babel and or react-preset and or babel-loader once they are released.
However it also says "If you are using Babel with Webpack, no additional steps are needed...". Maybe this isn't true for Razzle as the mentioned syntax doesn't work just yet.
Anyway the <Fragment></Fragment> component can be already used instead of the shorter <></> syntax.
I think we can actually just get rid of babel-preset-razzle now and move to just babel-preset-react-app. Initially hmr didn’t work, but now it seems to :shrug:
That's possible. The less dependency you or the community need to maintain the merrier.
Based on the release dates of the package I think it does not support the new syntax just yet.
Hello! any updates on this? It'd be really nice to be able to use fragments in CRA
@FoxWhite you can continue to use <React.Fragment> while waiting to use `<>.
This is not working as of version 2.0.1. But this commit description says it is supported.
✨ Upgrade deps and TypeScript. Now supports the new fragment syntax<>>
TypeScript supports <> via TypeScript
Open to a PR
Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.
@stale I am not working on it, but this is still not supported as of version 2.4.0.
Also curious about this. Babel 7 is out of beta 🎉
Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.
This feature is supported as of version 3.0.0-alpha.0. I will close this once version 3.0.0 is released.
Any updates on v3.0.0 release date?
Close?
Most helpful comment
Also curious about this. Babel 7 is out of beta 🎉