Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@slergberg/react-connect-to-context

slergberg3MITdeprecated0.6.0

This package has been renamed to @slergberg/react-hoc-connect-to-context

Highly opinionated and simple context connection HoC for React

context, hoc, react, reactjs, state

readme

React connectToContext HoC

Highly opinionated and simple context connection HoC for React.

build coverage dependabot license code style: prettier Contributor Covenant

Installation

npm install --save @slergberg/react-connect-to-context

This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.

Contributing

Feel free to contribute with this library. For more information, take a look at our contributing guide.

License

MIT