Skip to content

Modification of the shallowRef (number) value of another shallowRef (object) will affect the rendering of the object type #10364

Discussion options

You must be logged in to vote

It's normal behaviour. When one reactive dependency of our template changes, the whole template is being re-evaluated and is being updated with the current values of any data that is being used in the template.

This is how dom updates in libraries with virtual DOM work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jshand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants