@JamesQQuick you can still setErrors in react-hook-form. All you need to do is send errors back from you server action and set the set the errors unsing setError from react-hook-form. In this way even with react-hook-form, you can sync server errors with cilient state but you loses the progressvie enhacement for sure
Does the form still work without Javascript after having introduced react hook form? I don't see you using the form action property so I'm wondering if it still works as a progressive enhancement form, that you spent the last hour building?
I downloaded the zip from github and it works good but for me it's showing light mode so things are hard to see. Is there an easy way to switch it to dark mode?
F-king 15? I’m working in a project that still isn’t released that started with 13, then 14 came out and we migrated to 14, and now 15?! I love that they make such rapid progress, but they major bump more often than any library I’m familiar with.
Its a yearly thing. next 13 came out over 2 years ago. They had to update fast as react server components is still pretty new and has some kinks to work out. Next.js is the most advanced react framework. There's a reason the react team worked with them first for their new big features. The Vercel CEO has bet on dynamic websites from the start and its paid off.
I’m a no for typescript. If you’re working as part of a team I understand it’s uses, but for someone who’s just building side projects it just slows me down.
please can you make video about AuthJS + facebook login because now one make video about login using facebook everyone make github and google, I try it myself but I can't do it
This is so awesome! So much useful information in one video! Thank you James!
Great vid and with the source code.. perfect !!
@JamesQQuick you can still setErrors in react-hook-form. All you need to do is send errors back from you server action and set the set the errors unsing setError from react-hook-form. In this way even with react-hook-form, you can sync server errors with cilient state but you loses the progressvie enhacement for sure
Great content man!
What an awesome course, thank you
Amazing 🔥🔥
Thank you!
this is really good!
Thank you so much!
Does the form still work without Javascript after having introduced react hook form? I don't see you using the form action property so I'm wondering if it still works as a progressive enhancement form, that you spent the last hour building?
just started watching the vid. Doest it actually work with JS disabled with RHF?
Hi, can you make a quick start guide on how to use astro with htmx using prisma and turso sql?
Nice video, but can someone tell why when i tested it the form resets automaticaly after each submit
I downloaded the zip from github and it works good but for me it's showing light mode so things are hard to see. Is there an easy way to switch it to dark mode?
Hi James, can you make a video on multi-step form using React-hook-form with generics? Like one multi-step form for both create and edit
hi james, great video, but the github link attached is the code for the previous multi-page form. not of this video's code
Hey hey! SO sorry. Here's the correct link! I've updated in the description as well. github.com/jamesqquick/nextjs-form-validation
F-king 15? I’m working in a project that still isn’t released that started with 13, then 14 came out and we migrated to 14, and now 15?! I love that they make such rapid progress, but they major bump more often than any library I’m familiar with.
Its a yearly thing. next 13 came out over 2 years ago. They had to update fast as react server components is still pretty new and has some kinks to work out. Next.js is the most advanced react framework. There's a reason the react team worked with them first for their new big features. The Vercel CEO has bet on dynamic websites from the start and its paid off.
Things move fast. It's definitely a challenge. On the flip side, we get access to awesome new features more often. We do the best we can haha
Source code in git is not as in the video 😮😮😮
Hey hey! SO sorry. Here's the correct link! I've updated in the description as well. github.com/jamesqquick/nextjs-form-validation
which browser is he using
you lost me at 15:00 i don't understand what is going on
With react 18 next js is not using use form state but useActionState
is this usable with Nextjs 14?
yes it is
Awesome tutorial... Thank You
Osm❤
What does that mean? lol
please add image upload
I’m a no for typescript. If you’re working as part of a team I understand it’s uses, but for someone who’s just building side projects it just slows me down.
It'll make you faster after you get used to it.
please can you make video about AuthJS + facebook login because now one make video about login using facebook everyone make github and google, I try it myself but I can't do it
Hmmm, I've never done facebook login before. What specific issues are you having?
use validate.error.flattern().fieldErrors you will get same errors object. Also try format(). 😊😊
./src all the way. Just have to keep reminding myself middleware goes in the src not the root 🤦🏻♂️
Nice, Why use this garbage?