一昨日、昨日の続きです。 react-routerをv4へマイグレーションすると同時に、react-router-reduxもv5に上げます。こちらはまだアルファ版ということですが、十分に機能するしとてもシンプルなためにコード読んですぐ分かる内容ですから、危険視するほどではないと思います。 $ npm install --save react-router-redux@next $ npm install --save history 5.0.0-alpha.6でした。ここ1ヶ月ぐらいはコードが動いていないし、まあほぼ完成なのでしょう。 // Root.jsx import React from 'react'; import injectTapEventPlugin from 'react-tap-event-plugin'; import { createBrowserHistory