acdlite / redux-router

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

compatible with new version of history #110

Closed tadjik1 closed 9 years ago

tadjik1 commented 9 years ago

createLocation now is method of history object #102

https://github.com/rackt/history/commit/a78a15647ce3656d7c38afefd56bebedf0c75262

apapirovski commented 9 years ago

This doesn't solve the problem. If you look at the commit you're referencing, it clearly states including it from history is deprecated (and really, is no different than including it from lib was). What needs to happen is you need to have an actual instance of history on which createLocation is called.

tadjik1 commented 9 years ago

@apapirovski ok, thanks! btw, maybe you know how could I fix this problem: #106 ?