This repo focuses on react learning.
- Use
npm
to create react appnpm init react-app project-name
- Use
npx
to create react appnpx create-react-app project-name
- Use
yarn
to create react appyarn create react-app project-name
- This is the 1st react sample.
- It was created by
npx create-react-app hello-react
- Add bootstrap lib to this sample.
- Add input component.
- Add state property and setState API to change the property of component.