Forms can be a source of frustration with tools like Formik and React Hook Form due to complex nested objects, TypeScript errors, and performance issues.
TanStack Query and Zod offer a new approach to form validation, providing a game-changing solution.
Formik, once popular, is now criticized for performance issues with large forms, re-renders on each keystroke, and bloated bundle sizes.
React Hook Form improved performance but introduced challenges like complex useController debugging and intricate TypeScript integration.
Hand-rolled validation logic may seem appealing initially, but it can quickly lead to building a form library from scratch.