Exhibit 171 · Documentation
React docs: React Labs: What We've Been Working On – February 2024
React docs
The action function can operate synchronously or asynchronously. You can define them on the client side using standard JavaScript or on the server with the 'use server' directive. When using an action, React will manage the life cycle of the data submission for you, providing hooks like useFormStatus, and useActionState to access the current state and response of the form action.