Gabbie Metheny32,991 Points
Starting from React Basics project files using create-react-app
In case anyone else wants to use their finished project files from React Basics to make sure they understand the changes Guil made off-screen, and know what React is doing behind the scenes in
create-react-app, I recommend watching (or rewatching, in my case) Guil's videos on Using Create React App and following along, copying and pasting from your React Basics files and making any other needed changes.
Guil explains things really well in those videos, and you'll have a headstart on understanding the React Components course. Just use
npx create-react-app scoreboard like Guil starts typing out in the video, as installing via npx is the current recommendation for using create-react-app.
There will obviously be a bit of a learning curve vs. downloading the project files, and
create-react-app did release a new major version (v2) right as this course was launched (though I haven't encountered any breaking changes yet), but I recommend giving it a shot! If everything breaks, you can always just download the project files ¯\_(ツ)_/¯
Alex HadimulyaPro Student 3,504 Points
Hi there, just a quick question, after running create-react-app do i just replace the "src" folder contents with the project files "src" folder?
Thanks for your help!
When you create a components folder, are you supposed to put all of the .js files inside of it?