Skip to content

React-router-bootstrap is not working with react-router 5.0.0 #250

@kris2kris

Description

@kris2kris

Since react-router is in version 5.0.0, react-router-bootstrap is not working.

The following error occurred LinkContainer.js:147 Uncaught TypeError: Cannot read property 'history' of undefined at LinkContainer.render (LinkContainer.js:147)

More information about this problem can be find here [(https://github.com/remix-run/react-router/issues/6630)]

for information :

@sampsakuronen We have never documented or supported using this.context.router directly. That's our private API. I discussed this in the release notes to 4.4.0-beta.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions