angular-best-practices-ngrx logo

angular-best-practices-ngrx

angular best practices ngrx

SKILL.md

Full skill instructions

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

When to Apply

  • Adding or modifying NgRx stores, reducers, or effects
  • Writing selectors for state selection in components
  • Managing collections with @ngrx/entity

Rules

RuleImpactDescription
Keep Reducers PureHIGHNo side effects in reducers; move HTTP calls to Effects
Use Feature SelectorsMEDIUMMemoized selectors that recompute only when inputs change

Install

Install from skills.sh/alfredoperez/angular-best-practices: