Replies: 2 comments
-
This is the only solution I can imagine and I would go with. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is an
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to detect on +page.server.js whether a form has been sent to my server actions with or without progressive enhancement. For example, to find out if certain operations or checks have already been done by the client, or still need to be done by the server. With that I would like to save unnecessary duplicate operations.
Is there a way to find that out from the RequestEvent object that the actions are assigned?
Or should I craft something myself with (for each form) a hidden field flagged by (non-ssr javascript) as being an enhanced form? Or something like that?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions