mirror of
https://github.com/angular/angular.git
synced 2026-11-22 22:55:25 -05:00
AI coding agents using the angular-developer skill were observed calling plain methods inside @for/@if template expressions, for example items(count) returning a new array on every check. The skill had no guidance on this. Add a short rule to SKILL.md and a section to components.md that recommends computed(), a pure pipe or a child component for expensive work that would otherwise re-run on every change detection cycle. Signal reads and cheap calls stay allowed. Related to #70132