Complete Intro to React v5 and Intermediate React v2!
Welcome to theTo find the latest version of the React courses, head to the React Learning Path on Frontend Masters.
Before starting the course, please have VSCode or another code editor installed.
The master branch and commits within are all covered in Introduction to React v5. The other branches, excluding the gh-pages-src and gh-pages branches (these create the course website), are all covered in Intermediate React as modular segments that can be taken individually, or out of order.
Brian is using a font called Dankmono (not necessary to install -- just for those curious), but FiraCode is another great option. This course was written for and recorded by Frontend Masters. The code here is licensed under the Apache 2.0 license and the course notes are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license.
Debugging
npm install Issues:
Try running npm upgrade
before npm install
to update package.json dependencies.
Parcel Issues:
Parcel is an ever evolving project that's just getting better. If you run into problems with it not respecting changes (particularly to your .babelrc
or .env
files) then delete the dist/
and the .cache/
directories. You can do this in bash by running from the root directoy of your project rm -rf dist/ .cache/
or just by deleting those directories in your editor. This will force Parcel to start over and not cache anything.
See this issue for more specific instructions.
Solution to "regeneratorRuntime is not defined"
The simplest solution is to cut the supported browsers list in your package.json
file down to:
"browserslist": [
"last 2 Chrome versions",
]
There is a more involved solution if you want to support more browsers in the issue.
If you run into anything else, open an issue and we'll try to clarify or help!
See a Bug or Typo?
Pull requests are extremely welcome! If you see a typo in the course website, you can access the website code through the gh-pages-src branch of this repository.