Server Actions with SolidStart

Описание к видео Server Actions with SolidStart

SolidStart has Server Actions and they're ready to go!!
Let's create a login form and validate our data on the server with some awesome APIs made available within the framework.

From progressive enhancement to error handling!! A *solid* experience! 😏

Chapters
========
00:00 - Hello!
00:40 - Series Overview
01:46 - Code setup
02:11 - Create server action and Form
03:00 - Completing the UX of our form beyond user input
03:35 - Using the search params in a SolidStart component
03:48 - Creating a Signal to change form action
04:20 - Bringing that logic to our JSX rendering
07:06 - Error handling is a must. No form is complete without it!
07:44 - The Show component
08:29 - Data validation with Zod
08:50 - Setup our Zod schemas.
11:05 - The login Action
11:38 - Parsing and validating FormData
11:49 - Switch case for each Form action
12:37 - Return validation errors and testing our Form
13:39 - Wrap-up and rest of the series

🐙 code: https://github.com/atilafassina/solid...

Комментарии

Информация по комментариям в разработке