3 ms·
This was my first exposure too. Once you're ready to build an app with JSX (probably right after you finish that tutorial and realize that typing React.createEl
by dceddia 10y ago
This was my first exposure too. Once you're ready to build an app with JSX (probably right after you finish that tutorial and realize that typing React.createElement all over will get painful), check out the new tool Create React App[0] by Dan Abramov and the folks at Facebook. It's an official generator that'll get you going with no build to set up, and a bare minimum of necessary code, basically one step above Hello World.
I'm working on a book about learning React by itself, without Redux and Webpack and all the other tools that distract from learning the basics. Hope to have it out in the next week or so.
[0] https://github.com/facebookincubator/create-react-app https://github.com/facebookincubator/create-react-app
- rimunroe 10y agoWhy would you use React.createElement everywhere instead of just wrapping classes (or the imports of those classes) in React.createFactory?