Created
June 8, 2020 14:50
-
-
Save emanueleDiVizio/df12e001b8cbb0fc4e02150ed6d5c468 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createStore, combineReducers } from 'redux' | |
import { reducer as network } from 'react-native-offline'; | |
const rootReducer = combineReducers({ | |
// ... your other reducers here ... | |
network, | |
}); | |
const store = createStore(rootReducer); | |
export default store; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment