0.0.1 • Published 7 years ago
react-native-pusher-redux v0.0.1
pusher-redux
Integration of Pusher into Redux
Installation
You can download this by executing
npm -i S pusher-redux
Usage
Configure Pusher
Use it in your component
Change state in your reducer
Format of actions
Pusher-redux dispatches actions of the following format:
Delayed configuration
Sometimes you want to authenticate user for receiving pusher information, but you don't have user credentials yet. In this case you can do the following:
And once user information is available
Options
Pusher-redux accepts all the same options that pusher-js does
Contributing
You are welcome to import more features from pusher-js
License
This code is released under the MIT License.
0.0.1
7 years ago