Generate form action URLs #12149
DePasqualeOrg
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be useful if SvelteKit could generate URLs for form actions, which could be imported and referenced instead of hard-coding the URLs in each form element. When I move a route with form actions, my apps sometimes silently break because I forgot to change the URLs in the forms. Using generated URLs would help catch these errors at build time rather than runtime.
Beta Was this translation helpful? Give feedback.
All reactions