Re-Form the future. Rethinking Form Validations in React
summary
Demonstrates a concrete migration from ad hoc hooks to Vest by building a registration form: writes a separate validation suite using create and enforce, runs only the active field with only, and adds memo to cache async username checks so the server call is skipped if the value is unchanged. Shows client + server reuse via React Server Actions / Next, nonblocking warnings for password strength, a classNames helper to map valid/error/warning CSS, and disabling submit until suite.isValid is true.
AI-written summary · about
chapters (6)
- 0:00The evolution of the web
- 2:31The problem with validation
- 4:48Introducing Vest framework
- 9:39Implementing Vest in a form
- 16:00Advanced validation features
- 20:37Async validation and conclusion
related talks
38mFull Stack Form Validation with React Server Actions
28mBuilding validated forms with great UX in React
11mForms Don't Need to Suck
27mEnhancing Forms with React Server Components and React 19
26mThe Art of Building Modern Dynamic Forms
34mDesigning form validation the right way
20mUp your form validation game with Vest
20mEnhancing Forms with React Server Components
