Skip to content

Have the timing of the two actions been introduced incorrectly? #13425

Answered by sergiodxa
lymtu asked this question in Q&A
Discussion options

You must be logged in to vote

That's correct, if you have a clientAction and submit a form, the clientAction will run instead of your action

The clientAction receives a serverAction function so you can call it to trigger a request to the action

If you never call this serverAction function it will render run then, and only the clientAction will run

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lymtu
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