Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

Redirect does not update Component #19

@xescuder

Description

@xescuder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions