Closed
Description
I'm seeing a fair bit of conflicting info of how to set it up. I'm working with react native
I've gone with this:
import { configureStore } from '@reduxjs/toolkit'
import devToolsEnhancer from 'remote-redux-devtools'
import leaguesReducer from '../reducer'
const store = configureStore({
reducer: {
leagues: leaguesReducer,
},
devTools: false,
enhancers: [devToolsEnhancer({ realtime: true })],
})
export default store
passing my store into provider. if I log store.getState()
it works in the console. I cant connect to devtools, what do I need to do?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment