@b9g/crank 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crank.cjs +4 -1
- package/crank.cjs.map +1 -1
- package/crank.js +4 -1
- package/crank.js.map +1 -1
- package/package.json +1 -1
- package/umd.js +4 -1
- package/umd.js.map +1 -1
package/package.json
CHANGED
package/umd.js
CHANGED
|
@@ -548,7 +548,10 @@
|
|
|
548
548
|
// cleanup remaining retainers
|
|
549
549
|
for (; oi < oldLength; oi++) {
|
|
550
550
|
const ret = oldRetained[oi];
|
|
551
|
-
if (typeof ret === "object"
|
|
551
|
+
if (typeof ret === "object" &&
|
|
552
|
+
(typeof ret.el.key === "undefined" ||
|
|
553
|
+
!seenKeys ||
|
|
554
|
+
!seenKeys.has(ret.el.key))) {
|
|
552
555
|
(graveyard = graveyard || []).push(ret);
|
|
553
556
|
}
|
|
554
557
|
}
|