Angular NgRx Best Practices NgRx state management rules for global state with actions, reducers, effects, and selectors. Use with the core angular-best-practices skill for comprehensive Angular coverage. Links Core Skill: angular-best-practices Browse All Skills GitHub Repository When to Apply Adding or modifying NgRx stores, reducers, or effects Writing selectors for state selection in components Managing collections with @ngrx/entity Rules Rule Impact Description Keep Reducers Pure HIGH No side effects in reducers; move HTTP calls to Effects Use Feature Selectors MEDIUM Memoized selectors that recompute only when inputs change Install Install from skills.sh/alfredoperez/angular-best-practices : Core skill: angular-best-practices This add-on: angular-best-practices-ngrx
angular-best-practices-ngrx
安装
npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-ngrx