Style Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
Below are suggestions for naming and style conventions.
Theme files naming conversion
Apply padding for content if needed
How to generate test data?
use
How to generate TypeScript interfaces from given JSON?
NGXS naming conventions
Stores should always have the Store
suffix. Right: ZooStore
Wrong: Zoo
Stores should have a .store.ts
suffix for the filename
Selects should have a $
suffix. Right: animals$
Wrong: animals
Ref: