You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 329B

123456789
  1. import { createStore, applyMiddleware } from "redux";
  2. import { enableBatching } from 'redux-batched-actions';
  3. import thunk from "redux-thunk";
  4. import reducers from "./reducers";
  5. import { init } from './authPersistor'
  6. const store = createStore(enableBatching(reducers), applyMiddleware(thunk));
  7. init(store)
  8. export default store;