-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Actually it's had these issues for ... at least a year to my knowledge.
The official React webpage lists a bunch of possible toolchains, and babel is (significantly, maybe?) at the bottom of the page:
https://reactjs.org/docs/create-a-new-react-app.html
I'm translating the sample ReactJSX => React via CodePen and replacing the 'var XXX = () =>' prefix with 'const XXX =' and so far things seem to work. The Redux toolchain also seems to need, or at least mention babel, so that may be another issue for another day, but I'd be happy just to get the React side working.
Ultimately I'm doing this as learning enough to get Vue+websockets working, because that's what my workplace is standardizing on.
As a side note, in terms of working with the JS toolchains it'd be wonderful to simply name frontend/index.js 'frontend/index.jsx' and have the Perl6 restart mechanisms handle the compilation/bundling for me, but I do realize this is probably better left to the Javascript tools.
Maybe a make-like thing that just quickly checks the timestamps between index.jsx and index.js... but that's another rabbit hole for another time.