kiliman / remix-flat-routes

Remix package to define routes using the flat-routes convention
MIT License
640 stars 22 forks source link

Support for rewrites? #99

Closed silouanwright closed 6 months ago

silouanwright commented 6 months ago

https://github.com/remix-run/remix/discussions/2955#discussioncomment-7387005

kiliman commented 6 months ago

Unfortunately, that's not possible without direct support from React Router.

The main issue is that RR uses the actual URL you see in the browser for routing. Remix uses React Router for client-side navigation after the initial server render.