vide/docs/tut/crash-course
Andrea Fletcher 18c1d02d43
Add tag() action for CollectionService tags
Adds a built-in `vide.tag()` action that wraps `Instance:AddTag()` /
`Instance:RemoveTag()` so tags can be applied through `create()` props.

It accepts a static string or array of strings, or a reactive source
returning either. The reactive variant diffs the previous and new tag
sets so only the delta is applied. All tags added by the action are
removed when the surrounding scope is destroyed.

Includes mock support for `AddTag`/`RemoveTag`/`HasTag`/`GetTags`,
tests, API reference docs, and a closing note in the actions tutorial.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 22:10:47 -07:00
..
1-introduction.md Update docs 2024-11-04 23:18:04 +00:00
2-creation.md Improve Documentation Site (#41) 2024-11-03 17:32:19 +00:00
3-components.md Improve Documentation Site (#41) 2024-11-03 17:32:19 +00:00
4-source.md Improve Documentation Site (#41) 2024-11-03 17:32:19 +00:00
5-effect.md Fix mistakes in docs 2024-11-12 15:08:12 +00:00
6-scope.md Fix typo in scope crash course docs (#46) 2025-01-17 02:06:54 +00:00
7-reactive-component.md Fix mistakes in docs 2024-11-12 15:08:12 +00:00
8-implicit-effect.md Update docs 2024-11-04 23:18:04 +00:00
9-derived-source.md Update docs 2024-11-04 23:18:04 +00:00
10-cleanup.md Update docs 2024-11-04 23:18:04 +00:00
11-dynamic-scopes.md Add delayed scope destruction to docs 2026-01-17 20:15:05 +00:00
12-actions.md Add tag() action for CollectionService tags 2026-05-26 22:10:47 -07:00
13-strict-mode.md Update docs 2024-11-04 23:18:04 +00:00
14-concepts.md Fix mistakes in docs 2024-11-12 15:08:12 +00:00