MAJOR shout out to this developer based in Lagos who 3 years ago posted the only reasonable "get a React app set up with minor fuss" I have ever encountered. The only change I had to make was installing `babel-loader@7` and `webpack-cli` as dev dependencies.
In my ongoing quest for simple React setups, this article is mind blowingly good:
It explains how to set up a react app with just HTML and JS files, no webpack or browserify or anything. It is fully a toy implementation BUT it helped me understand a lot of the "magic" underlying React in a way that I never had before. It even shows how to write JSX embedded in the HTML file (by including Babel in a script tag).
@darius this really is super useful, thank you for sharing.
Currently weighing up the merits of various different setups for a new project. This helps a bit, but I am currently thinking Flutter might be fun, even if it's in a whole new language...
@darius They don't mention *why* they wouldn't recommend building your whole app like this, but it's partly that Babel is 3 MiB.
Hometown is adapted from Mastodon, a decentralized social network with no ads, no corporate surveillance, and ethical design.