Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guillaume-gomez/react-hook-context-reducer

An example of how to mix context + reducer hooks
https://github.com/guillaume-gomez/react-hook-context-reducer

react react-hooks react-hooks-demo typescript

Last synced: 2 days ago
JSON representation

An example of how to mix context + reducer hooks

Awesome Lists containing this project

README

        

## React hook example
The purpose of this repository is to show how to mix `useReducer` + `useContext` to mimic react redux :)

feel free to create an issue if my version is outdated or incomplete :)

## run
`yarn start`