Triatu Features
Quick start
- Each feature lives in
features/<feature>/. - Keep feature code local unless it is truly shared across multiple features.
- Provide
README.mdper feature with entry points, key flows, and tests.
Expected structure
features/<feature>/componentsfeatures/<feature>/hooksfeatures/<feature>/logicfeatures/<feature>/__tests__features/<feature>/index.tsfeatures/<feature>/README.md
Workflow
- Inventory existing UI in
components/and move feature-specific parts under the feature. - Export public surface from
features/<feature>/index.ts. - Add
data-testidhooks for e2e flows when needed. - Write or migrate tests into
features/<feature>/__tests__. - Update feature
README.mdand link from main docs if needed.
References
docs/DEVELOPMENT.mdtests/README.mdfeatures/*/README.md