Build React forms that handle overlapping saves.
Guides the integration of next-safe-action React hooks for server actions, forms, and optimistic updates.
When to use it
Use when executing next-safe-action actions from React client components or building optimistic UI, including queued and serialized mutations.
It changes how the agent selects and integrates next-safe-action hooks for React client components, forms, and optimistic updates.
What you provide
The guide uses hooks imported from the next-safe-action package.
The optimistic action hook wraps React.useOptimistic.
No additional actions listed.