Skip to content

Can't upgrade to react-router@5.0.1 and react-router-dom@5.0.1 #4

Description

@exogenesys

When the app is updated to react-router@5.0.1 and react-router-dom@5.0.1, the app breaks with the following error:

TypeError: this.context.router is not defined

What should be appropriate way to handle history.push with react-router@5.0.1 and react-router-dom@5.0.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions