martinboue/angular-tips
关于
Angular best practices for building maintainable applications.
网站与应用开发实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Angular Tips
Documentation · Export for AI · Contributing · Feedback
Angular Tips is a practical documentation of Angular best practices, with 270+ tips to follow and mistakes to avoid for building maintainable applications.
Read at ngtips.com.
What's covered?
Angular Tips covers all aspects of Angular development and offers expert advice, from general principles to specific topics:
- General: principles, code style, typing, configuration, folder structure, ...
- Components: TypeScript class, templates, styling, change detection, ...
- Forms
- UI libraries
- Reactivity: signals, RxJS, interoperability
- Routing
- HTTP: API specification, API design, access control, error handling, ...
- Testing
- Dependency injection
- State management
- Performance
- Internationalization (i18n)
- Upgrading
Each tip have a strict vocabulary that starts with Do, Consider or Avoid, have "Why?" explanation, ✅ good and ❌ bad examples.
[!NOTE] Angular Tips is a community project, not affiliated with the Angular team. It complements the official Angular documentation that is more generic, it does not replace it.
Supported Angular versions
Angular Tips follows Angular's major versions since v19.
| Angular version |
|---|
| v22 |
| v21 |
| v20 |
| v19 |
Use with AI agents
Give your AI coding agent these tips, so it follows them when writing or reviewing Angular code. Install latest tips as an agent skill with a single command:
npx skills add https://ngtips.com
To install the tips of another Angular version, add it to the URL, e.g. npx skills add https://ngtips.com/19.
You can also build your own skill by selecting only the tips you want (a page, a section, or specific tips) at Export for AI.
More information on how to use Angular Tips with AI.
Contributing
See the contributing guidelines, dev environment and code of conduct.
License
Author
探索相关项目
加载中…