the-road-to-learn-react / react-hooks-usestate-vs-usereducer

Showcasing when to use useState vs useReducer in React.

Home Page:https://www.robinwieruch.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-usestate-vs-usereducer

Build Status Slack Greenkeeper badge

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

Installation

  • git clone git@github.com:the-road-to-learn-react/react-usestate-vs-usereducer.git
  • cd react-usestate-vs-usereducer
  • npm install
  • npm start
  • visit http://localhost:3000

About

Showcasing when to use useState vs useReducer in React.

https://www.robinwieruch.de


Languages

Language:JavaScript 84.4%Language:HTML 15.6%