redux-middleware-react-native-netinfo
Glue NetInfo from react-native to Redux.
Installation
npm install --save redux-middleware-react-native-netinfo
Usage
// Just import the middleware and add it to your store;;const createStoreWithMiddleware = createStore; // And in your reducers receive the value; { }
Todo
-
Write tests for everything!