graphdb-workbench

Component & template conventions

Rules for Angular components in packages/workbench. They describe the target for new and touched code; existing components don’t all follow them yet (OnPush, input()/output(), separate template files). Don’t refactor untouched components just to comply.

Stencil components in packages/shared-components follow their own conventions.

Contents

Component library — PrimeNG first

We use PrimeNG as our component library. Reach for a PrimeNG component before hand-rolling one. Don’t reinvent a control PrimeNG already provides — a bespoke version is more code to own, drifts from the app’s look and behaviour, and usually misses accessibility and keyboard support the library already ships.

Components

Templates