https://github.com/clayrisser/redux-context-provider
💉 Inject redux into react context
https://github.com/clayrisser/redux-context-provider
context inject native provider react react-native react-redux redux
Last synced: over 1 year ago
JSON representation
💉 Inject redux into react context
- Host: GitHub
- URL: https://github.com/clayrisser/redux-context-provider
- Owner: clayrisser
- License: mit
- Created: 2018-02-12T17:50:47.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T10:35:29.000Z (over 2 years ago)
- Last Synced: 2025-03-12T19:40:49.543Z (over 1 year ago)
- Topics: context, inject, native, provider, react, react-native, react-redux, redux
- Language: JavaScript
- Homepage: https://jam.jamrizzi.com
- Size: 1.05 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# redux-context-provider
[](https://beerpay.io/jamrizzi/redux-context-provider)
[](https://beerpay.io/jamrizzi/redux-context-provider?focus=wish)
[](https://www.npmjs.com/package/redux-context-provider)
[](https://www.npmjs.com/package/redux-context-provider)
[](https://ci.jamrizzi.com/jamrizzi/redux-context-provider)
[](https://github.com/jamrizzi/redux-context-provider)
> 💉 Inject redux into react context

Please ★ this repo if you found it useful ★ ★ ★
## Features
* Access redux state from react context
* Access redux actions from react context
* Inject custom react context
* Render updates when redux state changes
* Integrates with all react projects including react native
* Easy and simple unopinionated to integration
## Installation
```sh
npm install --save redux-context-provider
```
## Dependencies
* [NodeJS](https://nodejs.org)
* [React](https://reactjs.org)
* [Redux](https://www.npmjs.com/package/redux)
## Usage
```js
import React, { Component } from 'react';
import ReduxContextProvider from 'redux-context-provider';
import createStore from './createStore';
import actions from './actions';
import Routes from './routes';
export default class App extends Component {
render() {
return (
);
}
}
```
## Support
Submit an [issue](https://github.com/jamrizzi/redux-context-provider/issues/new)
## Contributing
Review the [guidelines for contributing](https://github.com/jamrizzi/redux-context-provider/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://github.com/jamrizzi/redux-context-provider/blob/master/LICENSE)
[Jam Risser](https://jam.jamrizzi.com) © 2018
## Changelog
Review the [changelog](https://github.com/jamrizzi/redux-context-provider/blob/master/CHANGELOG.md)
## Credits
* [Jam Risser](https://jam.jamrizzi.com) - Author
## Support on Beerpay (actually, I drink coffee)
A ridiculous amount of coffee :coffee: :coffee: :coffee: was consumed in the process of building this project.
[Add some fuel](https://beerpay.io/jamrizzi/redux-context-provider) if you'd like to keep me going!
[](https://beerpay.io/jamrizzi/redux-context-provider) [](https://beerpay.io/jamrizzi/redux-context-provider?focus=wish)