Memex Admin
Dashboard
API Keys
Policies
Mem-Client: MDS Components Use export const
Repository: mem-labs/mem
Back to Policies
Cancel
active
Updated Feb 19, 2026, 8:26 PM
Name
Status
active
inactive
Markdown
MDS component exports should use `export const` component declarations. Rationale: - Consistent component declaration style simplifies scanning and refactors. Scope: - PR review policy for new MDS component source files under `domains/frontend/mem-client/src/mds/components/**`. - Excludes `*.stories.tsx`, `*.style.tsx`, `*.types.ts`, and `index.ts`. Trigger: - A PR introduces new exported React component declarations in scope. Approval checks: 1) New exported React components use `export const` declarations. 2) New `export function` component declarations are not introduced in scope. Evidence: - Diff of component file exports matches declaration convention. Decision: - Return NOT APPROVED when trigger is met and declaration convention is violated.
Cancel
Save Policy