Skip to content
Discussion options

You must be logged in to vote

Wouldn't you just use a splat route and then in the loader work out if that is a valid URL or not? If it is you'd get the data and return it and then the React component works out what to render from it. If it's not a valid route then return a 404.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@AndrewLeedham
Comment options

Answer selected by AndrewLeedham
Comment options

You must be logged in to vote
2 replies
@AndrewLeedham
Comment options

@ccssmnn
Comment options

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