Why can't DOM be reused in this case? #13013
Unanswered
dddssw
asked this question in
Help/Questions
Replies: 1 comment
-
Reuse partly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a question about reusing dom
For example, I have a Array, I divide it into 4 columns and add the sub-items in the array to these columns one by one,
After that,I divide it into 3 columns and add the sub-items in the array to these columns one by one
Because the sub-items in the array are the same, the DOM should be reusable
But now the DOM will not be reused
As far as I understand it, the diff algorithm will only compare the same layer
Is there no other way to reuse it?
Beta Was this translation helpful? Give feedback.
All reactions