dev:angular_dev_best_practices
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:angular_dev_best_practices [2019/01/22 10:12] – [Unit Tests] erickson | dev:angular_dev_best_practices [2019/07/10 00:38] – [Evergreen Angular Development Best Practices] sandbergja | ||
---|---|---|---|
Line 9: | Line 9: | ||
* Run 'ng lint' before committing. | * Run 'ng lint' before committing. | ||
* This does more than check style, it also warns when an import pulls in too much code, among other things. | * This does more than check style, it also warns when an import pulls in too much code, among other things. | ||
+ | * Make sure that 'ng xi18n' runs before committing (some i18n syntax errors are not caught by ng build) | ||
* use camelCase variables when possible for consistency. | * use camelCase variables when possible for consistency. | ||
* Design for screen width of 1350 pixels. | * Design for screen width of 1350 pixels. | ||
Line 24: | Line 25: | ||
* <label for=" | * <label for=" | ||
* Beware repeatable components have unique form input IDs (extend id with incrementor, | * Beware repeatable components have unique form input IDs (extend id with incrementor, | ||
- | * Give images, buttons, | + | |
+ | | ||
+ | * Test keyboard navigation with tab, shift+tab, arrow keys, and other keys as appropriate. Make sure that all buttons, | ||
+ | * The [[https:// | ||
+ | * Don't add Bootstrap' | ||
dev/angular_dev_best_practices.txt · Last modified: 2023/11/24 23:05 by sandbergja