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