Skip to content

goransh/react-super-context

Repository files navigation

react-super-context

A tiny wrapper library around the React Context API that removes a lot of boilerplate required to create and consume contexts.

Features

  • Create contexts with no boilerplate
  • No more nested context providers
  • Throws an error when consuming a context that has no provider instead of failing silently
  • Built with TypeScript
  • Small bundle size

Documentation

About

A tiny wrapper library around the React Context API that reduces the amount of boilerplate code required to create and consume contexts.

Topics

Resources

License

Stars

Watchers

Forks