We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0-beta.14
https://jsfiddle.net/6mxscrao/1/
shallowReactive(new Set())
Array.from(myShallowSet)
onTrack
Array.from(shallowSet) should track and iteration event inside an effect.
Array.from(shallowSet)
effect is not tracking the operation which leads to changes not triggering the effect.
Non-shallow reactive Sets do seem to track. I have not tried other collection types.
The text was updated successfully, but these errors were encountered:
Good spot! Thank you.
Will PR it in a bit
Sorry, something went wrong.
@pikax Good job!
Successfully merging a pull request may close this issue.
Version
3.0.0-beta.14
Reproduction link
https://jsfiddle.net/6mxscrao/1/
Steps to reproduce
shallowReactive(new Set())
Array.from(myShallowSet)
within an effectonTrack
is not called and changes to set have no effect.What is expected?
Array.from(shallowSet)
should track and iteration event inside an effect.What is actually happening?
effect is not tracking the operation which leads to changes not triggering the effect.
Non-shallow reactive Sets do seem to track. I have not tried other collection types.
The text was updated successfully, but these errors were encountered: