reading-notes

🗒️ Class 01: Introduction to React and Components

altText

Component-Based Architecture

What is Props and How to Use it in React

Other Reading Resources

Things I want to know more about

Lecture Notes

<> </> is called fragment

npx create-rect-app react-starter checks online to see if there are any apps called create-rect-app and executes the command. react-starter is the title of the repo

after creating code that follows

Success! Created react-lab-01 at /home/dmaa/projects/courses/code301/labs/react-lab-01
Inside that directory, you can run several commands:

  npm start
    Starts the development server.

  npm run build
    Bundles the app into static files for production.

  npm test
    Starts the test runner.

  npm run eject
    Removes this tool and copies build dependencies, configuration files
    and scripts into the app directory. If you do this, you can’t go back!

We suggest that you begin by typing:

  cd react-lab-01
  npm start

Happy hacking!
➜  labs

running create-react-app creates a repository git remote -v lists out all the remote links on a repo

steps to create react app run npx create-react-app <repo name> create repo on github WITHOUT any README.md, License, or .gitignore files copy and push an existing repository from the command line