Рет қаралды 3,091
🚀 Mastering Form Submissions in Remix with react-hook-form, remix-hook-form, and Shadcn-UI | Full Demo and Validation
In this comprehensive tutorial, we delve into the intricacies of form submissions in Remix, the powerful React and JavaScript framework. 📝
Follow along as we break down the submission flow, explain serialization and deserialization processes, and conduct a hands-on demo using popular tools like react-hook-form, remix-hook-form, zod, and Shadcn-UI for a seamless form-building experience.
🔍 Key Concepts:
Form Submission Flow: Understand the behind-the-scenes workings of how forms are submitted, serialized, and deserialized in Remix.
Demo with react-hook-form: Witness a live demonstration as we create a form using react-hook-form and integrate it seamlessly into a Remix project.
Integration with Shadcn-UI: Learn how to install and use Shadcn-UI components in Remix for an enhanced and aesthetically pleasing form design.
Validation with remix-hook-form and Zod: Dive into the validation process using remix-hook-form and Zod, ensuring data integrity on both the frontend and backend.
🕒 Timeline:
00:00 - Intro
00:09 - How form submissions work
06:07 - Installing shadcn-ui in Remix
09:00 - Project init
09:20 - Form with shadcn components
09:47 - Demo of the form
10:17 - remix-hook-form setup and form enhancements
11:24 - Extending the client side form
12:30 - Extending the server side part
14:27 - Client field tracking and improvements
15:37 - Final demo
15:58 - Seeing our final validated data and additional notes
17:21 - Outro with the cool bird
🔧 Tools and Libraries Used:
[react-hook-form](react-hook-form.com/)
[remix-hook-form](github.com/Code-Forge-Net/rem...)
[Shadcn-UI](ui.shadcn.com/docs)
[Zod](zod.dev/)
👉 Subscribe for More:
If you find this tutorial helpful, consider subscribing for more deep dives into Remix, React, and JavaScript frameworks.
🌐 Connect with Me:
Twitter:
/ alemtuzlak59192
Github:
github.com/AlemTuzlak
Blog:
alemtuzlak.hashnode.dev/