Skip to content
Showcasing when to use useState vs useReducer in React.
Branch: master
Clone or download
rwieruch Merge pull request #2 from the-road-to-learn-react/greenkeeper/react-…

Update react-scripts to the latest version 🚀
Latest commit 505fbbf May 9, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
public first commit Apr 21, 2019
src add test Apr 21, 2019
.gitignore first commit Apr 21, 2019
.prettierrc first commit Apr 21, 2019
.travis.yml first commit Apr 21, 2019
package-lock.json chore(package): update lockfile package-lock.json May 8, 2019
package.json fix(package): update react-scripts to version 3.0.1 May 8, 2019


Build Status Slack Greenkeeper badge

Showcasing the different approaches and benefits of using useState and useReducer in React. Read more about it.


  • git clone
  • cd react-usestate-vs-usereducer
  • npm install
  • npm start
  • visit http://localhost:3000
You can’t perform that action at this time.