Style Guide
Below are suggestions for naming and style conventions.
Theme files naming conversion
Apply padding for content if needed
How to generate test data?
use https://next.json-generator.com > https://next.json-generator.com/4Js2XUryH > https://randomuser.me/api/?nat=us&results=100&exc=login,registered&seed=sumo
How to generate TypeScript interfaces from given JSON?
Online Tools
https://jvilk.com/MakeTypes/
http://json2ts.com/
NGXS naming conventions
Ref: https://github.com/amcdnl/ngxs#style-guide
Stores should always have the
Store
suffix. Right:ZooStore
Wrong:Zoo
Stores should have a
.store.ts
suffix for the filenameSelects should have a
$
suffix. Right:animals$
Wrong:animals
Last updated