@lwc/engine-core 2.45.4 → 2.45.5
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/index.cjs.js +7 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -4497,7 +4497,12 @@ function s(slotName, data, children, slotset) {
|
|
|
4497
4497
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4498
4498
|
setVMBeingRendered(slotset.owner);
|
|
4499
4499
|
try {
|
|
4500
|
-
|
|
4500
|
+
// The factory function is a template snippet from the slot set owner's template,
|
|
4501
|
+
// hence switch over to the slot set owner's template reactive observer
|
|
4502
|
+
const { tro } = slotset.owner;
|
|
4503
|
+
tro.observe(() => {
|
|
4504
|
+
shared.ArrayPush.call(newChildren, vnode.factory(data.slotData, data.key));
|
|
4505
|
+
});
|
|
4501
4506
|
}
|
|
4502
4507
|
finally {
|
|
4503
4508
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
@@ -6939,5 +6944,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
6939
6944
|
exports.track = track;
|
|
6940
6945
|
exports.unwrap = unwrap;
|
|
6941
6946
|
exports.wire = wire;
|
|
6942
|
-
/** version: 2.45.
|
|
6947
|
+
/** version: 2.45.5 */
|
|
6943
6948
|
//# sourceMappingURL=index.cjs.js.map
|