U
U
Username2018-07-26 14:21:17
React
Username, 2018-07-26 14:21:17

Why can't find syncHistoryWithStore from react-router-redux package?

Good afternoon!
I take an example from off-line documentation and as a result the server spits out such an error.
'react-router-redux' does not contain an export named 'syncHistoryWithStore'.
5b59ae4ea053d037624080.png
I followed this example https://github.com/monsterlessons/09-react-router-...
But for some reason the translator does not find this method, I decided to navigate to the library myself, I did not find it either.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Spirin, 2018-07-26
@dalv_happy


I take an example from off-line documentation... I
did it according to this example...

This is not official documentation, and the versions of all libraries there are outdated.
Does it bother you at all that the react-router-redux package has been deprecated and is no longer supported?
Alternative connected-react-router solution

D
davidnum95, 2018-07-26
@davidnum95

Have you seen the class date? Almost a year and a half has passed. During this time, a lot has changed both in react-router-redux and in react-router itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question