Replies: 1 comment 5 replies
-
It basically includes the route file name. _route, route, _layout, etc. Which is not the behavior of the original system. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before I open it in issue, maybe doc confusion again :)
It appears that the route IDs have been altered some. I find frequently a /route suffix at the end of the ID.
Its not a frequent thing to use the ID of the routes, but there is one official in remix that is documented, that being useRouteLoaderData(). But there are other use-cases to, I have one and had to adjust code to remove the suffix.
People who use this would have code breakage after adjusting the flat-routes to nested flat-routes because IDs of their routes changed.
I have adjusted my code to remove the suffix, but wanted to point out that you might have overlooked it.
Beta Was this translation helpful? Give feedback.
All reactions