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.- 010What is the difference between controlled and uncontrolled inputs?Coremedium
- 020What are Actions, and how does
<form action>differ fromonSubmit?Coremedium - 030How does
useActionStatemanage a form's result and pending state?medium - 040How does
useOptimisticshow a result before the server confirms it?medium