React · Middle · Question 69 of 75

What does <form action={saveAction}> do in React 19?

Explanation

Actions can be client functions or Server Functions. Combined with useActionState and useOptimistic they cover most form flows without manual onSubmit handling.

Further reading

Problem with a question

React · Middle · question 69

Test yourself

Take the React · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz