I've had it like this before:
createStore(reducers, {}, applyMiddleware(reduxThunk));
Just saw a different piece of code somewhere and now changed my code to this, using compose:
createStore(reducers, {}, compose(applyMiddleware(reduxThunk)))
Both work fine so far. But I don't understand the difference exactly. Was what I had before wrong? Could someone explain this to me?