This project was bootstrapped with Create React App.
Redux is important for enterprise level apps.
This little app shows
-
How to use 2 slices in 1 redux store
-
How to change redux state variable
-
How to get redux state variable
-
Page1 and Page2 are used for a base number variable. It is called balance.
-
Page3 and Page4 are used for list. It is called todos as millions of developers have done so far : )
Easy to go!
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:9915 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
…or create a new repository on the command line
- echo "# react-010-simple-redux-sample" >> README.md
- git init
- git add README.md
- git commit -m "first commit"
- git branch -M main
- git remote add origin https://github.com/...git
- git push -u origin main
…or push an existing repository from the command line
- git remote add origin https://github.com/...git
- git branch -M main
- git push -u origin main