3 ms·
I don't want to turn this into another misguided "JS sucks" thread[0], but here's an example from create-react-app, the official point of entry for people learn
by dictum 9y ago
I don't want to turn this into another misguided "JS sucks" thread[0], but here's an example from create-react-app, the official point of entry for people learning React:
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md https://github.com/facebook/create-react-app/blob/master/pac...
The README included on a project generated through CRA is 116KB. A screenshot of that page rendered in GitHub is 60054px tall.
Honestly, I don't know if this could be made simpler or easier. React and its ecosystem deal with complex problems that can't always be reduced to simple explanations. In the case of this README, of course a lot of it is about specific setups that most beginners don't need to care about, but that CRA, being the blessed point of entry, still should support, or it would lock everyone into a Facebook workflow.
I think many developers would be better served by entering frontend development not through React, but through the basics (HTML, CSS, JS) and other ecosystems.
[0]: Unrequested opinion: frontend developers reach for bigCo solutions — whatever Facebook/Google/some billion-dollar startup uses — when smaller, lesser known, "boring" or exploratory solutions could be better, trying to solve problems they don't have.
- symlinkk 9y agoThat's not the official point of entry, the main React site is: https://reactjs.org/docs/hello-world.html https://reactjs.org/docs/hello-world.html
- dictum 9y agoGood point. What I meant by "point of entry" wasn't the way to learn React as an absolute beginner, but the official tool to use after you've learned the basics of React itself. A beginner can (and should) go far without a build system.