You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
now if you press the "delete 2" button, both "has 2: false" AND "has 3: false" will get logged, it also happens when you add something new.
It might be because of these lines? When a change occures we increase the version, which makes the call to "has 3: false" to be invoked.
Reproduction
1- go this REPL
2- press on "delete 2" button
3- see the logs which also logs "has 3: false"
4- press on "add 2" button
5- see the logs which also logs "has 3: false"
preferably you expect "has 3: false" be logged once until we actually add it or remove it afterwards.
Logs
No response
System Info
REPL (svelte5.next123)
Severity
annoyance
The text was updated successfully, but these errors were encountered:
Describe the bug
With
ReactiveSet
everything is fine grained, for instance doing this:If you press the "delete 2" button, it only logs "has 2: false". But if the value is not there to begin with?
now if you press the "delete 2" button, both "has 2: false" AND "has 3: false" will get logged, it also happens when you add something new.
It might be because of these lines? When a change occures we increase the version, which makes the call to "has 3: false" to be invoked.
Reproduction
1- go this REPL
2- press on "delete 2" button
3- see the logs which also logs "has 3: false"
4- press on "add 2" button
5- see the logs which also logs "has 3: false"
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: