rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,6 @@
---
description: Instructions for using snippets in Svelte 5 components to create reusable markup.
globs: **/*.svelte
---
- Use snippets and render tags to create reusable chunks of markup inside components.
- Snippets help reduce duplication and enhance maintainability.
@@ -0,0 +1,7 @@
---
description: General rules for Svelte 5 projects, including using runes for reactivity and simplifying event handlers.
globs: **/*.svelte
---
- Always use Svelte 5 instead of Svelte 4.
- Use runes for controlling reactivity; runes replace certain non-runes features and provide more explicit control over state and effects.
- Treat event handlers as properties for simpler use and integration.
@@ -0,0 +1,6 @@
---
description: Guidelines for handling reactivity and reactive statements in Svelte 5.
globs: **/*.svelte
---
- Prefer runes over reactive declarations ( `$:`) for reactivity, e.g. `bind:value`
- Treat event handlers as properties, simplifying their use.