ドキュメントによると、LOCATION_CHANGEを呼び出すことでイベントを発生させることができるはずpush('/with/the/path')です。ドキュメントの例:
import { routerMiddleware, push } from 'react-router-redux'
// Apply the middleware to the store
const middleware = routerMiddleware(browserHistory)
const store = createStore(
reducers,
applyMiddleware(middleware)
)
// Dispatch from anywhere like normal.
store.dispatch(push('/foo'))
ただし、プッシュを呼び出すと、次のようになります (何もしていないように見えます)。
私は何が欠けていますか?
