StephenGrider / ReduxSimpleStarter

Starter pack for an awesome Udemy course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console Undefined

shinichi14 opened this issue · comments

array can view in but cant read in console. i also import promise in index.js like this but still not work
import promise from 'redux-promise';
const createStoreWithMiddleware = applyMiddleware(promise)(createStore);

untitled-1

Hello @shinichi14, are you trying to print the array to the console? Don't seem to understand the question here but the line of code you posted above seems right, except the fact that your variable name promise might be a reserved word, not sure about that though but ReduxPromise explains the import better