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
{{ message }}
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
In Main.js componentWillMount() method in the if(__CLIENT__) { } block if you take out the additional call to this.props.setQueryParams({...etc}) routes do not behave properly.
The text was updated successfully, but these errors were encountered:
tylermadison
changed the title
(Transmit) this.props.setQueryParams must be called in componentWillMount or routing does not work properly...
(Transmit/Routing) this.props.setQueryParams must be called in componentWillMount or routing does not work properly...
Aug 3, 2015
This is still an issue in the latest version. If you have a nested route and navigate to it via a <Link /> it re-renders both components. If you call this.props.transmit.forceFetch({}) in componentWillMount in the Main component, the routes work as expected and do not cause the re-render.
In Main.js
componentWillMount()
method in theif(__CLIENT__) { }
block if you take out the additional call tothis.props.setQueryParams({...etc})
routes do not behave properly.The text was updated successfully, but these errors were encountered: