Тёмный

Zod Form Validation Is The Best Vue Form Validator (and React) Out There 

Program With Erik
Подписаться 123 тыс.
Просмотров 9 тыс.
50% 1

Need to Sign Up? Click here go.aws/3qK8rG6
#formvalidation #vuejs #typescript
In this video I look at Zod a schema validator and use it for form validation. Then I see how it will work with Veelidate, and finally we connect it to an AppSync with AWS GraphQL
👉 Check out my last video on AWS Auth
• I've Decided To Make A...
👉Sign up for my mailing list and get neat stuff!
bit.ly/3Umk7sW
👉 Need some help with a project, level up your skills, React, Next, Vue, or Nuxt? Check out my 1-on-1 mentoring!
mentors.to/erik
Join this channel to get access to perks:
/ @programwitherik
Follow me!
/ erikch
Links:
go.aws/3P8MnhZ
github.com/Eri...
github.com/col...
vee-validate.l...

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@theProzacGeneration
@theProzacGeneration Год назад
Formkit with the Zod Plugin is next level
@DemchukIvan
@DemchukIvan Год назад
Zod is a good library but has few issues: It does not have nice way of comparing fields (passwordConfirmation equal password). refine method waits for the entire schema to be valid, so is kind of useless if you want to show validation errors as user types. Development is really slow. I have created a merge request in April and didn't even get a comment from the author. Big bundle size. Because all methods are implemented as extension methods, they cannot be treeshaked.
@jitxhere
@jitxhere Год назад
Have you tried valibot? It's still in active validation. It tries to fix some issues of zod
@neopickaze
@neopickaze Год назад
vee-validate and yup is still superior
@SigmundJaehn
@SigmundJaehn 5 месяцев назад
Vuelidate has been my go to
@piscis168
@piscis168 11 месяцев назад
I found that zod + formkit is awesome to build out forms quick. 1. with formkit you can basically wrap you custom inputs in my case primevue components 2. then use zod + formkit to build forms out 3. I’m using the same schema for forms on the server side to validate payload when you use nuxt h3 recently release a feature to valide the body of a post request with one line with a zod schema so my backend and Frontend validation is always in sync. I did all of this with vee validate before but had problems wrapping custom components as specially when I tried to use a Pinia store tracking form state … anyway what took me 3 days implementing with vee-validate took me one day to migrate to formkit … and now I can build forms via template syntax or use formkit json schema ….
@DaviMartins99
@DaviMartins99 11 месяцев назад
You just saved my job lol Great content!
@basicsprogrammingandelectr3043
@basicsprogrammingandelectr3043 8 месяцев назад
am using nuxt 3 ....is there a big defference to use zod on nuxt 3?????
@gazbenczuk
@gazbenczuk Год назад
What do you think about vuelidate library? I like it so much but it has one big problem. It is no longer supported.
@anujsubedi105
@anujsubedi105 Год назад
😂 Learned vue 3 from your channel. If i can recommend ref is for premetives use reactive instead 😂
@joshuatye1027
@joshuatye1027 Год назад
You can use ref for both. If you want to.
@xNuminous
@xNuminous Год назад
Why link to everything but the fucking library in the description 🤦
@johnm8358
@johnm8358 Год назад
literally the first result when you google zod
@ProgramWithErik
@ProgramWithErik Год назад
Sorry about that guys! Added!
@jitxhere
@jitxhere Год назад
No way dude you're complaining about that. You can make a google search and get that... How hard is to type 3 letters?
@fullstacklarry
@fullstacklarry 8 месяцев назад
yeah that was totally uncalled for doofus...
@виртуоз_ру
@виртуоз_ру 8 месяцев назад
👍
Далее
Zod для валидации API и форм
20:19
Просмотров 12 тыс.
Women’s Celebrations + Men’s 😮‍💨
00:20
КОТЯТА НАУЧИЛИСЬ ГОВОРИТЬ#cat
00:13
React Hook Form - Complete Tutorial (with Zod)
28:22
Просмотров 119 тыс.
Zod Goes Where TypeScript Can't
8:11
Просмотров 57 тыс.
Nuxt UI: Form Validation with Zod
18:50
Просмотров 6 тыс.
Remix Form Validation with Zod
18:17
Просмотров 8 тыс.