Overview
Last updated
Last updated
Simple components:
📄 Component file
Complex components:
📁 Component folder (see )
📁 _components (optional)
📁 _lib (optional)
📄 Component file
📄 index.ts
Storybookized
Location: ~/components/_storybook/...
Components that have gone through the step of creating "stories"
UI documentation & testing
Non-Storybookized
Location: ~/components/...
Location: ~/components/database/...
Contents:
📄 _config.ts
📁 _lib
📄 useMutations.ts
📄 context.ts (optional)
📁 _components
(base/template components -- CRUD buttons, FormCRUD, Table, etc.)
Location: .../_components/...
All non-reusable, non-database-related components should ultimately exist within an _components
folder, which may be located within a , in a , etc.