Hacker News new | ask | show | jobs
by hastes 2318 days ago
I would look into CRA (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.

1 comments

If 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/ which can use JSX, but in documentation the non-JSX form is primary.

I 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