Router middleware
We have already used the connected-react-router/immutable
 library in Chapter 3, Routing, in which we implemented routerMiddleware
 to solve the routing issue. To recap, we are using this library as the binding for React Router V4. We extended our store using this middleware when we configured the store. The code snippet can be found in the app/configureStore.js
file in both CH03
and CHO5
.Â