-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Which project does this relate to?
Router
Describe the bug
When the RouterProvider is added anywhere in the Router as follows:
<RouterProvider router={getRouter()} context={{ isLoading: true }} />,
it throws this error
TypeError: Cannot read properties of undefined (reading 'subscribe')
Your Example Website or App
https://github.com/cjoecker/tanstack-error-reproduction-2
Steps to Reproduce the Bug or Issue
- Start the project with
npm run dev - See the server console
Expected behavior
The RouterProvider don't throw any error
Screenshots or Videos
No response
Platform
See reproduction project
Additional context
Line with error is here:
Metadata
Metadata
Assignees
Labels
No labels