Skip to content
Discussion options

You must be logged in to vote

You can use a catch-all/splat route and inside the route loader fetch the API to know how to handle that route.

Although at that point you're not using RR anymore, you're just using the API as your router, unless you other routes not handle by the API like /, /login, etc. in that case it can make sense to use RR to define those routes and a catch-all/splat for the rest.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pooya-badiee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants