@lwc/engine-core 2.41.3 → 2.41.4
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/dist/engine-core.cjs.js
CHANGED
|
@@ -4604,7 +4604,12 @@ function s(slotName, data, children, slotset) {
|
|
|
4604
4604
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4605
4605
|
setVMBeingRendered(slotset.owner);
|
|
4606
4606
|
try {
|
|
4607
|
-
|
|
4607
|
+
// The factory function is a template snippet from the slot set owner's template,
|
|
4608
|
+
// hence switch over to the slot set owner's template reactive observer
|
|
4609
|
+
const { tro } = slotset.owner;
|
|
4610
|
+
tro.observe(() => {
|
|
4611
|
+
shared.ArrayPush.call(newChildren, vnode.factory(data.slotData, data.key));
|
|
4612
|
+
});
|
|
4608
4613
|
}
|
|
4609
4614
|
finally {
|
|
4610
4615
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
@@ -7023,5 +7028,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
7023
7028
|
exports.track = track;
|
|
7024
7029
|
exports.unwrap = unwrap;
|
|
7025
7030
|
exports.wire = wire;
|
|
7026
|
-
/* version: 2.41.
|
|
7031
|
+
/* version: 2.41.4 */
|
|
7027
7032
|
//# sourceMappingURL=engine-core.cjs.js.map
|