mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-29 14:12:54 +08:00
rename folder
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Suggests utilizing createStore for complex state management within SolidJS components.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Utilize createStore() for complex state management.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Advises the implementation of Show and For components for conditional and list rendering in SolidJS.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Implement Show and For components for conditional and list rendering.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Recommends using createResource for data fetching within SolidJS components.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Use createResource() for data fetching.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Guides the implementation of createMemo for managing derived values in SolidJS components.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Implement createMemo() for derived values.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Recommends implementing proper error boundaries within the SolidJS project.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Implement proper error boundaries
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Enforces the preference for functional components in SolidJS projects within the components directory.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Always use functional components instead of class components.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Specifies the use of JSX for component templates throughout the SolidJS project.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Use JSX for component templates
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Recommends implementing lazy-loading for improved performance within SolidJS.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Implement lazy-loading for improved performance
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Requires adherence to Solid.js naming conventions and best practices throughout the project.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Follow Solid.js naming conventions and best practices
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Suggests utilizing Solid's built-in optimization features for enhanced performance.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Use Solid's built-in optimization features
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Provides guidelines for managing reactive state using createSignal in SolidJS components.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Use createSignal() for reactive state.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Suggests the implementation of server-side rendering (SSR) when needed in SolidJS projects.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Use server-side rendering (SSR) when needed
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Specifies the use of createEffect for handling side effects in SolidJS components.
|
||||
globs: src/components/**/*.jsx
|
||||
---
|
||||
- Utilize createEffect() for side effects.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
description: Encourages the use of Solid Router for routing when applicable in SolidJS projects.
|
||||
globs: src/**/*.jsx
|
||||
---
|
||||
- Utilize Solid Router for routing when applicable
|
||||
Reference in New Issue
Block a user