chore: delayed component cleanup

This commit is contained in:
Michael Brevard 2024-06-16 16:50:35 +03:00 committed by GitHub
parent 3f11337999
commit 768ebe4591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ function elementIsVisibleInViewport (el: Element) {
}
/* @__NO_SIDE_EFFECTS__ */
export const createLazyIOClientPage = (componentLoader: Component) => {
export const createLazyIOComponent = (componentLoader: Component) => {
return defineComponent({
inheritAttrs: false,
setup (_, { attrs }) {
@ -59,7 +59,7 @@ export const createLazyIOClientPage = (componentLoader: Component) => {
}
/* @__NO_SIDE_EFFECTS__ */
export const createLazyNetworkClientPage = (componentLoader: Component) => {
export const createLazyNetworkComponent = (componentLoader: Component) => {
return defineComponent({
inheritAttrs: false,
setup (_, { attrs }) {
@ -92,7 +92,7 @@ export const createLazyNetworkClientPage = (componentLoader: Component) => {
const eventsMapper = new WeakMap<ComponentInternalInstance, (() => void)[]>()
/* @__NO_SIDE_EFFECTS__ */
export const createLazyEventClientPage = (componentLoader: Component) => {
export const createLazyEventComponent = (componentLoader: Component) => {
return defineComponent({
inheritAttrs: false,
setup (_, { attrs }) {