Route manifest (or named route functions) #2797
frontsideair
started this conversation in
Proposals
Replies: 2 comments 2 replies
-
Just found out about routes-gen, which solves my issue but would love to see it integrated into Remix. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Possibly also related: #2912. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Full stack React frameworks such as Blitz.js and RedwoodJS share a
Link
component that is aware of the routes that your app has. This way, creating links is safer and you can use intellisense instead of randomly typing strings.Blitz.js calls this route manifest and in RedwoodJS it's named route functions.
Implementation-wise, Blitz.js generates the manifest using CLI commands, and I assume RedwoosJS does something similar. Since Remix gives so much safety, adding this would be in line with the project's vision and provide a much better developer experience.
Beta Was this translation helpful? Give feedback.
All reactions