Best Practices β
This page summarizes practical development defaults for racletteJS apps.
Plugin-First Development β
- Build new features in plugins first.
- Keep business logic plugin-scoped unless there is a clear runtime-level reason not to.
- Prefer reusable plugin code over app-local override code.
Use Overrides Carefully β
services/frontend/*andservices/backend/*can replace core files by path.- Use this as an escape hatch, not as default architecture.
- Keep overrides minimal and documented.
App-Safe Namespace β
- If you only want to add app code, prefer
services/*/src/app/*. - The
appspace is reserved for app-local additions and helps avoid accidental core replacement.
Dependency Workflow β
- Add runtime dependencies with
yarn add-package. - Avoid direct dependency edits in generated
.raclettefiles. - If
packages.jsonis edited manually, run update/restart flow so containers pick changes up.