3 ms·
I would look into CRA (https://github.com/facebook/create-react-app https://github.com/facebook/create-react-app). It handles all the Babel/Transpiling/Webpack
by hastes 7y ago
I would look into CRA (https://github.com/facebook/create-react-app https://github.com/facebook/create-react-app). It handles all the Babel/Transpiling/Webpack mumbo-jumbo for you so you can focus on writing code.
Although I would eventually recommend learning how to utilize Babel & Webpack yourself because knowing why and how it works is useful.
- brlewis 7y agoIf kart23's objection to complexity is how long it takes to get up and running, I agree about CRA. I agree about knowing the why of Babel and Webpack. But how they work isn't something everybody has to learn. If it's some other objection to complexity, I'd recommend learning modern web dev using https://mithril.js.org/ https://mithril.js.org/ which can use JSX, but in documentation the non-JSX form is primary.
- pier25 7y agoI second Mithril with JSX. I've been using for a couple of months and it's amazing. I started working on making the JSX docs a little better but got stalled... hopefully I will have some time later this month. https://github.com/MithrilJS/mithril.js/pull/2551 https://github.com/MithrilJS/mithril.js/pull/2551