mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 14:52:55 +08:00
rename folder
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
---
|
||||
description: Performance Optimization techniques for Svelte and SvelteKit projects.
|
||||
globs: **/*.svelte
|
||||
---
|
||||
- Leverage Svelte's compile-time optimizations.
|
||||
- Use `{#key}` blocks to force re-rendering of components when needed.
|
||||
- Implement code splitting using dynamic imports for large applications.
|
||||
- Profile and monitor performance using browser developer tools.
|
||||
- Use `$effect.tracking()` to optimize effect dependencies.
|
||||
- Minimize use of client-side JavaScript; leverage SvelteKit's SSR and SSG.
|
||||
- Implement proper lazy loading for images and other assets.
|
||||
Reference in New Issue
Block a user