Fix rrdom bugs (#1222)
* fix: rrdom bug 1. fix one bug of the diff algorithm 2. omit srcdoc attribute of iframe * use linked list to iterate children * fix the bug that the children of shadowRoot don't get diffed * add test cases * add change log
This commit is contained in:
8
.changeset/cold-eyes-hunt.md
Normal file
8
.changeset/cold-eyes-hunt.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'rrdom': patch
|
||||
---
|
||||
|
||||
Fix: rrdom bugs
|
||||
|
||||
1. Fix a bug in the diff algorithm.
|
||||
2. Omit the 'srcdoc' attribute of iframes to avoid overwriting content.
|
||||
Reference in New Issue
Block a user