Remix Form Validation with Zod

  Рет қаралды 8,081

TomDoesTech

TomDoesTech

Күн бұрын

Пікірлер: 25
@jomarkpangan9362
@jomarkpangan9362 2 жыл бұрын
God this really blown my mind. I was doing some shitty version of this using Object.entries and some methods that doesn't make sense. Bonus for the type safety. kudos tom! really underrated.
@sidwebworks9871
@sidwebworks9871 2 жыл бұрын
😂 I think you're that lost dev from the server right?
@nexxel
@nexxel 2 жыл бұрын
Never thought this video would be helpful to me when it came out. I guess I should never assume haha, thank you! Super helpful!!
@TomDoesTech
@TomDoesTech 2 жыл бұрын
Glad it was helpful!
@RailGunViolin
@RailGunViolin 2 жыл бұрын
I was just looking at using zod with remix , great video , thanks !
@larslommen9098
@larslommen9098 9 ай бұрын
Great stuff!
@evelyn790
@evelyn790 2 жыл бұрын
Extremely helpful and well explained. Thanks a lot!
@TomDoesTech
@TomDoesTech 2 жыл бұрын
Glad it was helpful!
@Cwiet
@Cwiet 2 жыл бұрын
Wow, after your superb explanation this seems like a breeze to implement and use. Thanks for the video! Btw. have you already tried Remix Validated Form? I'm thinking if I should go with zod on its own or use the whole Remix Validated Form thing.
@michaeldebetaz
@michaeldebetaz 2 жыл бұрын
I do use it and it's awesome. The maintainer is super nice and it's pretty straigthforward to use :)
@Cwiet
@Cwiet 2 жыл бұрын
@@michaeldebetaz I use an UI Framework (Mantine) and it seems that it doesn’t work so easy with the approach from Remix Validated Form but I‘ve found in docs useFormContext, which make it simple to get errors per field.
@EteyenIkpeme
@EteyenIkpeme Жыл бұрын
Why are tests around remix validated forms impossible to find...
@xTomster
@xTomster Жыл бұрын
Great video but I can’t find this theme! 😞
@adonaicandido
@adonaicandido 2 жыл бұрын
Have you tried Zodix? It basically does what your validadeAction function does, with some extras like validating URL params too.
@yoman9446
@yoman9446 2 жыл бұрын
thanks a lot tom! can you do a video on rate limiting APIs in nextjs?
@TomDoesTech
@TomDoesTech 2 жыл бұрын
Great suggestion!
@Motion152
@Motion152 2 жыл бұрын
Hey Tom love the tutorial, I was trying to use it to validate my form, but I have an array of objects as my form data and was wondering how I can get a generic response for this but am struggling if you have any tips.
@moutafatin
@moutafatin 2 жыл бұрын
Yo thanks for this video, I have a little question, What is your opinion about Remix ? Should I learn it or learn NextJs ? is learning Remix gonna hurt my learning process if I want to get a job with react ?, I see Remix abstract a lot of stuff that you do with normal react application.
@TomDoesTech
@TomDoesTech 2 жыл бұрын
It depends what your goal is. If it's to get a job, you're probably better off learning Next.js first. However, both are great React frameworks and not that difficult to learn once you know React
@moutafatin
@moutafatin 2 жыл бұрын
​@@TomDoesTechThank you for the response, I tried both, with NextJs or CRA you need to handle more things, but Remix does more things for you, like In simple react app I need to set the value of inputs to a state and post the data to the server, In remix, I can just , and I don't need to the state. I have a good react foundation, I just can't decide where to focus.
@Cwiet
@Cwiet 2 жыл бұрын
I'm new to react ecosystem and I've started to build my blog with Nextjs but I wanted to try Remix after reading about its old-school approach of using HTML forms and fetching data. After giving it a shot, I must admit that I do enjoy working with Remix more than with Nextjs and I'm going to stick with it. It's easy to use, make a lot of fun and give you opportunity to discover all those standard browser APIs, which exists for ages and make things simpler but with SPA frameworks no one have use it!
@moutafatin
@moutafatin 2 жыл бұрын
@@Cwiet I switched from remix to sveltekit and I have more fun
@Cwiet
@Cwiet 2 жыл бұрын
@@moutafatin Svelte is also great but when I started with my project Sveltekit was still in alpha. It was also a sweet discovery after a few years working with Vue.
@kirakira160
@kirakira160 2 жыл бұрын
first❤
@frozen_tortus
@frozen_tortus 11 ай бұрын
You are casting too much instead of narrowing. Keep in mind you are teaching people bad patterns here. Otherwise relativly good video.
React Hook Form - Complete Tutorial (with Zod)
28:22
Cosden Solutions
Рет қаралды 147 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Learn Zod In 30 Minutes
31:03
Web Dev Simplified
Рет қаралды 157 М.
Remix (now React Router) is the future of React.js
13:23
Daniel Bergholz
Рет қаралды 7 М.
Zod Form Validation Is The Best Vue Form Validator (and React) Out There
18:24
Remix Single: Optimistic UI
16:56
Remix
Рет қаралды 30 М.
React Formik Tutorial with Yup (React Form Validation)
34:50
Nikita Dev
Рет қаралды 121 М.
React Hook Form (+ Zod) - Complete Tutorial
31:21
ByteGrad
Рет қаралды 110 М.
Form Validation
8:25
Remix
Рет қаралды 10 М.
Remix is a NEW JavaScript framework you MUST try
9:10
Fireship
Рет қаралды 530 М.
How does ZOD work? Build it yourself!
14:12
Andrew Burgess
Рет қаралды 12 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19