Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Wrong instruction for Migration to v17 #243

Open
yunuseon opened this issue Nov 10, 2023 · 0 comments
Open

Wrong instruction for Migration to v17 #243

yunuseon opened this issue Nov 10, 2023 · 0 comments

Comments

@yunuseon
Copy link

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 😁

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant