Project and folder structure according to this article
CSS class names:
Structure HTML files with sections and separate them with comments:
<!-- <section name> -->
Use RxJS operator
take(1)
instead offirst()
In the state, we have to use
take(1)
whenever we get an observable from a function we callOur store’s actions always return observables (no void)
Use lambda function instead of .bind(this)
example:ret.children.map(children => this.classificationsDeepCopy(children));
instead ofret.children.map(this.classificationsDeepCopy.bind(this));
We use
ExampleType[]
instead ofArray<ExampleType>
, when refactoring or writing new codeTest name pattern:
should_ExpectedBehavior
orshould_ExpectedBehavior_When_StateUnderTest
depending on the specific testTesting standards according to this article
All entities (displayed in the UI) should start with a capital letter
Page Comparison
General
Content
Integrations