Skip to content

😎 A curated list of stuff related to the new React Context API

Notifications You must be signed in to change notification settings

dai-shi/awesome-react-context

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome React Context Awesome

A curated list of stuff related to the new React Context API



Featured 🔥
Constate, a state management library using React Context



Videos

Articles

Examples

  • compare-react-state-management - React createContext vs Apollo vs MobX vs Redux in a simple todo app.
  • ThemeContext - CodeSandbox example using React v16.3.0-alpha.0.
  • Themer - React Context demo on CodeSandbox.
  • React-State - React state using Context API, similar to redux with connect, Provider API.

Libraries

  • react-create-context - Polyfill for the proposed React context API.
  • react-contextual - Tiny helper around React's new context API.
  • react-broadcast - Reliably communicate state changes to deeply nested React elements.
  • react-composer - Prevents deeply nested code when consuming multiple contexts at the same time.
  • react-connect-context - Redux-style connector that maps context-based objects onto a component's props.
  • react-waterfall - React store built on top of the new context API.
  • react-zedux - Create consumable contexts from observables, including Zedux/Redux stores.
  • react-translations-provider - Setup and access a global set of translations and current locale via a context provider.
  • with-context - Decorator for new React Context API.
  • constate - React Context + State = constate.
  • react-motive - Small wrapper around the React Context API with actions/dispatch style state management.
  • react-loadable-context - Small wrapper around the React Context API to asynchronously load and inject objects into the context.
  • unstated - A tiny dependency that provides a handy wrapper around the Context API for dependency injection.
  • react-storage-context - Handy util for getting/setting local storage and session storage built on the Context API.
  • dakpan - A small React state management library using the new React context.
  • react-context-connector - React HOC to the new Context API to keep the use as simple as React-Redux connect HOC.
  • react-zap - Zap props from one React component to another, using React new context API and your existing higher-order components.
  • react-providers - A small library that creates a centralized place to store (like Redux store) your context components and HOC to use it. Automatically resolves dependencies between your context components.
  • react-context-global-state - A wrapper library around the Context API to define global state without explicitly using class components.

Contribute

Contributions welcome! Read the contribution guidelines first.

License

CC0

To the extent possible under law, diegohaz has waived all copyright and related or neighboring rights to this work.

About

😎 A curated list of stuff related to the new React Context API

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%