garethslinn / useContext_with_useReducer

I have typically used redux for state management but useContext brings about a more simplistic approach without the need of a third party.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example app using useContext with useReducer

I have typically used redux for state management but useContext brings
about a more simplistic approach without the need of a third party.
The example, at todo list demonstrates how I would go about structuring an app. Although built using sass I did not implement a responsive design however typically I would tackle styling with a mobile first approach. It has no tests due to this being a learning exercise on how to migrate from Redux.

Install

yarn 

Usage

yarn start
yarn run css:watch

About

I have typically used redux for state management but useContext brings about a more simplistic approach without the need of a third party.


Languages

Language:JavaScript 75.6%Language:SCSS 14.6%Language:HTML 9.7%