Closed tyteen4a03 closed 1 month ago
Hey.
Short answer is that the formAction
builder is preferred.
The reasons for it:
.error()
method.use()
) methodthe createFormAction
has only one benefit, that it will enable you to have standardized responses for the success, error, and invalid cases. This way you don't have to invent your own, which will keep your codebase clean.
The formAction
uses the createFormAction
internally.
Are there any guidance on when each one should be used?