After a long time, I realized that these are really my React Dev and HMR tools. I had to update Store Configure as follows:
OLD ----- (BELOW)
import Immutable from 'immutable'; import { Platform } from 'react-native'; import { createStore, applyMiddleware, compose } from 'redux'; import thunk from 'redux-thunk'; import reducer from '../reducers'; const middlewares = [thunk]; let enhancer; if (__DEV__) { const installDevTools = require('immutable-devtools'); installDevTools(Immutable); const devTools = require('remote-redux-devtools'); enhancer = compose( applyMiddleware(...middlewares), devTools({ name: Platform.OS, hostname: 'localhost', port: 5678 }) ); } else { enhancer = applyMiddleware(...middlewares); }
NEW ----- (BELOW)
import Immutable from 'immutable'; import { Platform } from 'react-native'; import { createStore, applyMiddleware, compose } from 'redux'; import thunk from 'redux-thunk'; import reducer from '../reducers'; const middlewares = [thunk]; let enhancer = applyMiddleware(...middlewares); export default function configureStore(initialState) { const store = createStore(reducer, initialState, enhancer); if (module.hot) { module.hot.accept(() => { store.replaceReducer(require('../reducers').default); }); } return store; }
source share