Wrong instruction for Migration to v17
yunuseon opened this issue · comments
Yunus Öztürk commented
Affected
Advanced Recommendations
Problem
The current recommendation
Use
update
instead ofmutate
in Angular Signals. For exampleitems.mutate(itemsArray => itemsArray.push(newItem));
will now beitems.update(itemsArray => [itemsArray, …newItem]);
Obviously, the array should be spreaded instead of the new item 😁