Skip to content

Warning: Failed context type: The context router is marked as required in Link, but its value is undefined. #4639

@ValentinH

Description

@ValentinH

I just installed react-route with the following version: "^4.0.0-beta.6" inside a create-react-app application and I can't use <Link>.

I just copy-pasted the basic example in App.js and got the following issue:

Warning: Failed context type: The context `router` is marked as required in `Link`, but its value is `undefined`.

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