React Router 7: Warning about missing trailing "*" in parent route despite following documentation - how to handle nested routes correctly? #13362
Unanswered
s-matthies
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I updated my application from React Router v6 to v7 and after adjusting my routes according to the documentation, I encountered a warning about a missing trailing "*". However, my routing works as expected.
(I followed the React Router v7 Upgrade Guide for handling nested routes.)
Setup
Current Implementation
Following the v7 documentation for nested routes, I changed from:
to:
The
Projects
component has its own internal routes and navigation:Current Behavior
My Question:
Beta Was this translation helpful? Give feedback.
All reactions