acdlite / redux-router

Redux bindings for React Router – keep your router state inside your Redux store
MIT License
2.3k stars 216 forks source link

Remove history as dependency #224

Closed Scarysize closed 8 years ago

Scarysize commented 8 years ago

We should drop history as a dependency as it is more an 'implicit' one. The only direct import from the history module is in the server side module: https://github.com/acdlite/redux-router/blob/master/src/server.js#L2 It should be easy to just let users pass a createHistory function instead, similar to how it works for the client side.