StephenGrider / ReduxSimpleStarter

Starter pack for an awesome Udemy course
MIT License
3.56k stars 4.65k forks source link

Console Undefined #225

Open shinichi14 opened 6 years ago

shinichi14 commented 6 years ago

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

lumie31 commented 6 years ago

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