next-safe-action Form Integration Options | Approach | When to Use | |---|---| | + native form | Simple forms, no complex validation UI, programmatic triggers | | + | Forms with state tracking, need access, full callbacks | | (RHF adapter) | Complex forms with field-level errors, validation on change/blur | | | RHF forms with optimistic UI updates | | | Instant UI where overlapping writes must be queued and accumulate (see the hooks skill) | Quick Start — useStateAction Form Note: requires the server action to be defined with instead of , and passes raw , so its input schema must parse (e.g.…