2025-04-26 05:43:35 +02:00

16 lines
514 B
Plaintext

---
description:
globs:
alwaysApply: true
---
# React components
1. You will always provide a maintainable folder structure when adding or updating react components.
2. You will reuse common components
# Folders
- components: general reusable components
- pages: specific components related to the domain and the application
- lib: plain typescript for building the domain logic, services etc. you will never put react code in here
Every component must be in its own folder (together with optional custom css)