rrweb-snapshot
2.2.0 · 24 Oct 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed
Your version
In short
1 fixed
Release note
Patch Changes
Release removed shadow trees from the mirror
Removing a shadow host from DOM was leaving references to shadow descendants, so e.g. repeatedly replacing web components mem-leaked their detached trees. Fix by recursing into shadow roots during removal, including nested hosts and releasing strong references from the mirror.