React Redux Les actions doivent être des objets simples

import thunk from 'redux-thunk'
import { applyMiddleware } from 'redux'

const store = createStore(reducer, initialState, applyMiddleware(thunk))
florinrelea