Redux is a predictable state container for JavaScript apps.
Take a look here to find out what it looks like.
1. Create or remove counters with buttons.
2. Right Click on a counter increases by one.
3. Left Click on a counter decreases by one.
4. Doubl Click on a counter changes color and radius.
- create-react-app
- redux
- react-redux
- immutable.js
- surge.sh
-
single-counter branch: http://sticky-office.surge.sh
-
multiple-counter branch: http://smooth-meeting.surge.sh
-
Ducks/redux-actions branch: It is developed with Ducks and redux-actions based on a multiple-counter branch. It works just same as multiple-counter app.
All you need to do is clone or download this repository
git clone https://github.com/jongbochung/react-redux-counter.git
To start this application run command bellow
yarn
To test your application, run
yarn start
This is also watching for changes, so when you update some code, you don’t have to restart the server, it does that automatically
Simple, single-command web publishing. Publish HTML, CSS, and JS for free, without leaving the command line.
- Don't forge to install Surge
npm i surge -g
- Check out more detail here