https://github.com/ejunjsh/redux-test
https://github.com/ejunjsh/redux-test
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ejunjsh/redux-test
- Owner: ejunjsh
- Created: 2017-07-11T08:41:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-11T09:04:50.000Z (almost 8 years ago)
- Last Synced: 2024-12-29T08:41:56.512Z (4 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# redux-test
try the redux, for verifying the state changes after invoking of dispatch().## run
````bash
npm install
npm run babel
````
## result
````bash
previous state: 0
previous state: 0
current state: 1
previous state: 1
current state: 2
previous state: 2
current state: 3
previous state: 3
current state: test1
previous state: test1
current state: test2
previous state: test2
current state: test21
````
## conclude
you would found the last log of above, the state is changed by different action,so the store only maintains a state currently.