Skip to content

Vague error message after updating to React Router 7.7 and React 19.1 #14076

@GabenGar

Description

@GabenGar

Reproduction

https://github.com/87906913/408919357/tree/main/react-router/vague-error-react-19

Steps are in the readme.

System Info

System:
    OS: Windows 10 
    CPU: (4)
    Memory: 7.80 GB
  Binaries:
    Node: 22.14.0
    npm: 10.8.0

Used Package Manager

npm

Expected Behavior

If it's something related to not supporting React 19, then the package should state so instead of throwing vague errors.

Actual Behavior

I presume it's some React error which was just re-thrown by React Router as is. Really fun to find out about this while working for another repro of another issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions