Closed LittleSound closed 3 months ago
In some cases, the text in v-for cannot be updated.
v-for
Because v-for needs function updateEffect to update Dom, but the dynamic createTextNode is incompatible with this behavior.
updateEffect
createTextNode
I refactored the v-for runtime in PR #217, which will solve this problem.
Method to reproduce the error: After entering the page, click the change button and observe the changes.
Description
In some cases, the text in
v-for
cannot be updated.Because
v-for
needs functionupdateEffect
to update Dom, but the dynamiccreateTextNode
is incompatible with this behavior.I refactored the
v-for
runtime in PR #217, which will solve this problem.Playground
Method to reproduce the error: After entering the page, click the change button and observe the changes.