angular-update-guide icon indicating copy to clipboard operation
angular-update-guide copied to clipboard

Wrong instruction for Migration to v17

Open yunuseon opened this issue 3 years ago • 0 comments

Affected Advanced Recommendations

Problem The current recommendation

Use update instead of mutate in Angular Signals. For example items.mutate(itemsArray => itemsArray.push(newItem)); will now be items.update(itemsArray => [itemsArray, …newItem]);

Obviously, the array should be spreaded instead of the new item 😁

yunuseon avatar Nov 10 '23 15:11 yunuseon