You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the path to the protected page in above structure is: /about. It contains a link to a non existent page: /about/test. As far as I understand, this should render notFoundComponent in __root.tsx but it renders defaultNotFoundComponent defined in the router instance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Router's notFoundMode is left default (fuzzy).
Example folder structure:
the path to the protected page in above structure is:
/about
. It contains a link to a non existent page:/about/test
. As far as I understand, this should render notFoundComponent in __root.tsx but it renders defaultNotFoundComponent defined in the router instance.Am I missing something?
Link to repro:
https://codesandbox.io/p/devbox/zealous-snyder-rdpxkl?workspaceId=ws_QnR4c4yxvqYer3MvhFWX9c
Beta Was this translation helpful? Give feedback.
All reactions