Skip to content

maciejtatol/hooks-global-state-example

Repository files navigation

React Hooks Global State Concept

Concept was based on this repository -> https://github.com/diegohaz/constate

Advantages:

  • this pattern contains global state similar to Redux, it can be easily scalable
  • no NPM dependency to handle data management (just two files that holds all the logic)
  • clean and simple
  • just functions (simple testing)

To be considered:

If you have other/better ideas, feel free to submit an issue

About

An example of Global State implementation using React Hooks and Context API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published