calendi/.cursor/rules/react.mdc
2025-04-23 18:55:51 +02:00

14 lines
435 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