React form validation explained - Next.js and Astro

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Great stuff Ben! Thank you for these kind of videos, you have a gift for making things look easy.

Jorgepex
Автор

Really amazing stuff, Ben. You're treading new territory in DX!

AtRiskMedia
Автор

awesome ! so glad to see more of those formats. great job !
(Vim extension : nice ! 😃)

maxwebstudio
Автор

Found your channel from the awesome shorts, great to see some long form too!

penry
Автор

A thing to note about checkboxes is that they are only included in the form data, if they are checked! Which means the value will only ever be "on" or not defined at all in the form data.

This means that if you were to conditionally render the checkbox there's no way to determine whether the value is missing because it was left unchecked or because it was not rendered, for example.

To get around this, you can use a hidden field and render it together with the checkbox to determine whether the checkbox is present but unchecked, or not present at all. Welcome to the world of HTML forms!

dealloc
Автор

What a great video I just found. Thank you very much and keep up the good work!

anashe
Автор

OK. My trick ear just heard "Ragexing", and those big epiphany fireworks went off in my head. Maybe it's me but I think I do more Ragexing than regexing.

shane_l
Автор

Amazing, thanks for the next integration

electroheadfx
Автор

Great tutorial thank you. Q. Why do you have to validate both Server and Client side?

jamesgrubb
Автор

How about form with array in the object? I've found this part is quite hard. Creating schema for all these library is okey. But the performance is sometimes slow. I ended up create a component for each field if the data is using array for performance.

rahmannilam
Автор

Is it necessary to use frameworks like React/Vue/Angular for interactive components in Astro?

coder_one
Автор

Awesome work Ben most underrated content creator

jessepernila
Автор

Hi, How did u put the terminal on right side in vscode?

Light-nnhn
Автор

It’s was all very nice until the client side generate… what a mess it created

danfascia
Автор

The things react sucks the most at in comparison to every other framework is forms and styling. Aka like the two most important things on the front end lol

erikslorenz
Автор

Zod should not be on frontend, no treeshaking etc, use native form validation

jonathangamble
visit shbcf.ru