Skip to content
Discussion options

You must be logged in to vote

I've also noticed that now the route /session/$sessionId is no longer throwing a 404 (like I was expecting), but the Outlet also returns no elements, so no clue what is going on there.

This sounds like a bug in the router generator. can you please provide a complete minimal example? ideally by forking one of the existing examples

in your case, I would create a /session/$sessionId.tsx as well as an explicit /session/$sessionId/index.tsx.
/session/$sessionId.tsx would contain the data fetching and in /session/$sessionId/index.tsx I would throw a notFound or redirect in its beforeLoad()

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@DaXcess
Comment options

@natedunn
Comment options

@schiller-manuel
Comment options

@natedunn
Comment options

@natedunn
Comment options

Answer selected by DaXcess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants