You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing this thing piece by piece into an application and I am getting "Cannot read property 'getCurrentQuery' of null".
I went to see the RouterContainer service and it doesn't seem to have a lot in there.
What is this sorcery?
The text was updated successfully, but these errors were encountered:
I hit this issue too; it's because router-server has undergone a number of breaking changes since the version used in the tutorial. Check out my implementation here to see how it works now: https://github.com/ydogandjiev/runthistown-client
In your module.js pass the history singleton to your Router:
import History from 'services/browserHistory';
render(({routes}), document.getElementById('content'));
When you want to trigger a navigation from anywhere in your code (in this case from an action) just write this:
import History from 'services/browserHistory';
History.push('/');
I am implementing this thing piece by piece into an application and I am getting "Cannot read property 'getCurrentQuery' of null".
I went to see the RouterContainer service and it doesn't seem to have a lot in there.
What is this sorcery?
The text was updated successfully, but these errors were encountered: