@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.js
CHANGED
|
@@ -4493,7 +4493,12 @@ function s(slotName, data, children, slotset) {
|
|
|
4493
4493
|
// undefined is for root components, but root components cannot accept slotted content
|
|
4494
4494
|
setVMBeingRendered(slotset.owner);
|
|
4495
4495
|
try {
|
|
4496
|
-
|
|
4496
|
+
// The factory function is a template snippet from the slot set owner's template,
|
|
4497
|
+
// hence switch over to the slot set owner's template reactive observer
|
|
4498
|
+
const { tro } = slotset.owner;
|
|
4499
|
+
tro.observe(() => {
|
|
4500
|
+
ArrayPush$1.call(newChildren, vnode.factory(data.slotData, data.key));
|
|
4501
|
+
});
|
|
4497
4502
|
}
|
|
4498
4503
|
finally {
|
|
4499
4504
|
setVMBeingRendered(vmBeingRenderedInception);
|
|
@@ -6898,5 +6903,5 @@ function readonly(obj) {
|
|
|
6898
6903
|
}
|
|
6899
6904
|
|
|
6900
6905
|
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 };
|
|
6901
|
-
/** version: 2.45.
|
|
6906
|
+
/** version: 2.45.5 */
|
|
6902
6907
|
//# sourceMappingURL=index.js.map
|