-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] reactivity: do not notify for NOOPs on collections
Previously, if a reactive was observing the presence of an item in a set that was originally not present, it would get notified when that item was "deleted" from the set (even though there was nothing to delete and the set did not change). The same applied to the key already being present and then being "added". The same thing occured with Map, both for presence but also for values (setting a key to the value it was already set to would notify). This commit fixes that.
- Loading branch information
1 parent
e7ebb92
commit 3937966
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters