We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library
I have created a simple application with three components for demonstration problem https://github.com/DiRover/RR7-navigate-error.git
MacOS Chrome react 19 react-router 7.1.5 vite 6.1.0
pnpm
There should be no error in the browser console
There should be no error in the browser console when executing the navigate method.
Error in the browser console: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'result')
I don’t understand what is causing this error, I only noticed that it occurs when SecondComponent has a loader in the route tree.
The text was updated successfully, but these errors were encountered:
You should return plain objects from your loaders. Remove the calls to data and the error will go away.
data
Sorry, something went wrong.
No branches or pull requests
I'm using React Router as a...
library
Reproduction
I have created a simple application with three components for demonstration problem
https://github.com/DiRover/RR7-navigate-error.git
System Info
Used Package Manager
pnpm
Expected Behavior
There should be no error in the browser console
Actual Behavior
There should be no error in the browser console when executing the navigate method.
Error in the browser console:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'result')
I don’t understand what is causing this error, I only noticed that it occurs when SecondComponent has a loader in the route tree.
The text was updated successfully, but these errors were encountered: