AntiPattern
Stale Form State Updates
stale-form-state-handlers
React form and handler logic breaks because state is read too early or with the wrong shape—captured values update late, inputs lack matching name attributes, and formState errors are treated like arrays instead of keyed objects.