-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add balastrong's video tutorials (#1048)
- Loading branch information
1 parent
14347a4
commit 5c875c3
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
id: balastrongs-tutorials | ||
title: Balastrong's Tutorials | ||
--- | ||
|
||
TanStack Form maintainer [Balastrong](https://bsky.app/profile/leonardomontini.dev) has created a series of video tutorials showcasing the most relevant features of the library. You'll find step by step guides that give you some extra insights into what you can build with TanStack Form, plus some nice tips and tricks. | ||
|
||
[Watch the full playlist](https://www.youtube.com/playlist?list=PLOQjd5dsGSxInTKUWTxyqSKwZCjDIUs0Y) | ||
|
||
|
||
## 1. [Setup and validation](https://youtu.be/Pf1qn35bgjs) | ||
|
||
The first steps into TanStack Form learning all the basics, from setting up the library to creating a simple form with text fields and validation (sync, debounced and async). [Watch video (8:16)](https://youtu.be/Pf1qn35bgjs) | ||
|
||
## 2. [Advanced validation](https://youtu.be/Pys2ExswZT0) | ||
|
||
An example of data being validated through a backend API while ensuring a smooth user experience by controlling loading state, error messages and linked fields. [Watch video (8:05)](https://youtu.be/Pys2ExswZT0) | ||
|
||
## 3. [Array fields](https://youtu.be/0IPPHdjvrzk) | ||
|
||
How to handle array fields with primitives (strings, numbers) and objects (nested fields), with validation and reordering. [Watch video (6:53)](https://youtu.be/0IPPHdjvrzk) | ||
|
||
## 4. [Reactivity](https://youtu.be/UXRZvNCnE-s) | ||
|
||
Learn why form values may not update in real time, why this behavior is intentional, and how to trigger UI updates efficiently. [Watch video (4:26)](https://youtu.be/UXRZvNCnE-s) | ||
|
||
## 5. [Form validation with schema libraries](https://youtu.be/HSboMHfPuZA) | ||
|
||
Use schema libraries like zod, yup or valibot to define your schema with validation rules. Pass it to TanStack Form through an adapter to validate all fields at once. [Watch video (6:29)](https://youtu.be/HSboMHfPuZA) | ||
|
||
## 6. [Side effects and listeners](https://youtu.be/A-w2IG7DAso) | ||
|
||
Similarly to field validators, you can attach events to field listeners and react to them, for example to reset a field when another one it depends on has changed. [Watch video (5:50)](https://youtu.be/A-w2IG7DAso) |