anthonyrovira / counter-state

A simple demo project that implements counters using a different state management library for each.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Counter - State Management

A simple demo project that implements counters using different state management technologies for each.

thumbnail

Live demo

URL: https://counter-state-management.netlify.app/

About The Project

This project has been developped using ReactJS. This is a very simple architecture made for learning purposes.

State Management

So far, three state managers are implemented in the same project:

  • Redux
  • Zustand
  • useContext (+ useReducer)

Other informations

  • Each counter goes from 0 to 10.
  • To help understand, open the Console section of the browser inspector and get into the 3 children components to see how it works.

Get Started

Install the dependencies:

$ yarn

Run in dev mode:

$ yarn start

Contact 📭

If this project helped you in a way, please don't forget to give it a star ⭐! Thanks again!

Any questions, hit me up on Twitter.

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

A simple demo project that implements counters using a different state management library for each.

License:MIT License


Languages

Language:JavaScript 67.0%Language:CSS 22.6%Language:HTML 10.4%