flexdinesh/react-redux-boilerplate
Auf GitHub ansehenRedirect does not update Component
Open
#19 geöffnet am 10. Aug. 2018
help wanted
Repository-Metriken
- Stars
- (782 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
I've tried to use push history and Redirect but the effect is always the same, location is changed on browser, but expected Component is not rendered (render method of previous url is called instead). I've tried to use withRouter in compose but also no effect.
App.js:
HomePage: if (toEquity === true) { let whereTo = '/equities/' + selectedSuggestion; return }
EquityPage is not rendered and not even his methods (componentDidMount, componentWillReceiveProps, ...)
Thanks in advance.