TODO
TODO
TODO
TODO
TODO
TODO
We’ve seen the State hook and the Effect hook and the Context hook. There are others that are built-in:
See the reference documentation for these hooks. If you are looking for more, check out the Rooks project which has dozens of good ones to add to your apps.
TODO
React apps are large, and while you could conceivably write the whole app in an HTML file, don’t. Instead, you’ll want to use a toolchain. The most common ones are:
Each of these will create an entire project infrastructure that includes starter code, a git repo, a Node.js set up, a way to optimize and package up the app, making use of WebPack or something similar. You might not have to worry too much about the packaging, except when you are including some massive libraries that allow you to be more selective about which parts of those libraries you want to bring in.