Skip to content

Commit

Permalink
docs: add balastrong's video tutorials (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
Balastrong authored Nov 29, 2024
1 parent 14347a4 commit 5c875c3
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,21 @@
}
]
},
{
"label": "Community Resources",
"children": [],
"frameworks": [
{
"label": "react",
"children": [
{
"label": "Balastrong's Tutorials",
"to": "framework/react/community/balastrongs-tutorials"
}
]
}
]
},
{
"label": "Examples",
"children": [],
Expand Down
33 changes: 33 additions & 0 deletions docs/framework/react/community/balastrongs-tutorials.md
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)

0 comments on commit 5c875c3

Please sign in to comment.