score:1

Accepted answer
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
    const store = createStore(
      rootReducer,
      applyMiddleware(thunk)
    );

Related Query

More Query from same tag