@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.js
CHANGED
|
@@ -4602,7 +4602,12 @@ function s(slotName, data, children, slotset) {
|
|
|
4602
4602
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4603
4603
|
setVMBeingRendered(slotset.owner);
|
|
4604
4604
|
try {
|
|
4605
|
-
|
|
4605
|
+
// The factory function is a template snippet from the slot set owner's template,
|
|
4606
|
+
// hence switch over to the slot set owner's template reactive observer
|
|
4607
|
+
const { tro } = slotset.owner;
|
|
4608
|
+
tro.observe(() => {
|
|
4609
|
+
ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
|
|
4610
|
+
});
|
|
4606
4611
|
}
|
|
4607
4612
|
finally {
|
|
4608
4613
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
@@ -6984,5 +6989,5 @@ function readonly(obj) {
|
|
|
6984
6989
|
}
|
|
6985
6990
|
|
|
6986
6991
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
6987
|
-
/* version: 2.41.
|
|
6992
|
+
/* version: 2.41.4 */
|
|
6988
6993
|
//# sourceMappingURL=engine-core.js.map
|