You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client action and server action should handle the errors the same way and do not revalidate if a 400 response returned.
Actual Behavior
Server action and client action behaviours are different when 400 is returned. Error in server action does not cause revalidation, but the client action does revalidate in case of an error.
The text was updated successfully, but these errors were encountered:
I'm using React Router as a...
framework
Reproduction
Submit the form, revalidation happens
Comment out the clientAction
Submit the form, revalidation does not happen
System Info
Used Package Manager
npm
Expected Behavior
Client action and server action should handle the errors the same way and do not revalidate if a 400 response returned.
Actual Behavior
Server action and client action behaviours are different when 400 is returned. Error in server action does not cause revalidation, but the client action does revalidate in case of an error.
The text was updated successfully, but these errors were encountered: