I would like to see the state in my App.js i am importing like this
import configureStore from './src/configureStore'
let store = configureStore()
so i am injecting in my App.js
<Provider store={store} theme={theme}>
{console.log('11111',store)}
<NavigationContainer>
in console only i can see this: {dispatch: ƒ, subscribe: ƒ, getState: ƒ, replaceReducer: ƒ, @@observable: ƒ}
how can i see the state?
btw: configureStore is:
import {createStore, applyMiddleware} from 'redux';
import Reducers from './reducers'
import thunk from 'redux-thunk'
export default function configureStore () {
let store = createStore(Reducers, applyMiddleware(thunk))
return store
}