Validation is one of the core features of forms, probably the most important one.
Let’s see what TanStack Form is capable of!
In the last video we set up together a simple form with basic validation, today we'll push it a bit further and see how to handle more complex validation scenarios.
Next topic in the list, arrays and dynamic fields. Stay tuned!
Watch the full playlist: https://www.youtube.com/playlist?list=PLOQjd5dsGSxInTKUWTxyqSKwZCjDIUs0Y
Form Demo: https://github.com/Balastrong/tanstack-form-demo/tree/02-advanced-validation
_______________________________
Hit like and subscribe for more content! :D
Beginner-Friendly Open Source Projects: https://github.com/DevLeonardoCommunity
Join the Discord community! Here's the invite: https://discord.gg/bqwyEa6We6
You can also follow me on the other platforms:
Twitter: https://twitter.com/Balastrong
dev.to: https://dev.to/balastrong
GitHub: https://github.com/Balastrong
Home: https://leonardomontini.dev/
TikTok: https://www.tiktok.com/@balastrong
Instagram: https://www.instagram.com/devbalastrong/
_______________________________
TIMESTAMPS
00:00 Form validation
01:53 Field validation at form level
02:39 Backend validation (API)
03:57 Local and Backend validation together
04:26 User feedback while validating
05:07 Listen to other fields (linked field)
06:36 Validating libraries (zod, yup, valibot)