Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 10

Forms and Actions

Handling input and submissions: controlled and uncontrolled inputs, Actions as async transitions, <form action>, useFormStatus, useActionState, and optimistic updates with useOptimistic.
  1. 010What is the difference between controlled and uncontrolled inputs?Coremedium
  2. 020What are Actions, and how does <form action> differ from onSubmit?Coremedium
  3. 030How does useActionState manage a form's result and pending state?medium
  4. 040How does useOptimistic show a result before the server confirms it?medium