-
blazor webassembly we know it can update the dom after we change the variable. I want to ask that how blazor get the render tree? will it get all the doms in the page? we kow in react or vue or other framework it will get all the dom and build a list and compare which dom will update. what about blazor? |
Beta Was this translation helpful? Give feedback.
Answered by
javiercn
Jan 17, 2024
Replies: 1 comment
-
Blazor uses a Virtual DOM and produces a diff between the existing tree and the new tree for each component and then sends that diff to the browser which takes care of updating the DOM with the instructions from each component. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
javiercn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blazor uses a Virtual DOM and produces a diff between the existing tree and the new tree for each component and then sends that diff to the browser which takes care of updating the DOM with the instructions from each component.