This project was bootstrapped with Create React App. I used a Mosh YouTube Tutorial to get started on learning the React library.
The Counter App will be able to deploy similar functions that one would find in a simple e-commerce web application which includes having a navigation bar at the top which will also have a total items counter. Additionally, there are different items listed and the user can increment or decrement the desired quantity.
I learned about these things in order to creater the Counter App:
- React components
- Embedding expressions
- Setting attributes
- Rendering classes dynamically
- Rendering lists
- Conditional Rendering
- Handling Events
- Binding events handlers
- Updating the state
- What happens when the state changes
- Passing event arguments
- Composing components
- Passing data to components
- Passing children
- Debugging React Apps
- Props vs State
- Raising and handling events
- Updating the state
- Single source of truth
- Removing the local state
- Multiple componenets in sync
- Lifting the state up
- Stateless functional components
- Destructuring arguements
- Lifecycle hooks
- Mounting phase
- Updating phase
- Unmounting phase
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app