Skip to content

Frontend source defaults ​

Applies to: **/*.{ts,js}

Checklist ​

  • Keep rendering, interaction, and browser-owned state in the frontend; shared business rules and persistent data stay with their owning API.
  • Create components, shared state, composables, or services only around meaningful responsibilities with clear ownership.
  • Keep state with its narrowest owner.
  • Browser code MUST NOT contain server credentials or private infrastructure details.

Sources ​

You own what ships.