diff --git a/src/hydrate/platform/index.ts b/src/hydrate/platform/index.ts index 1c5ab5b3d04..e458ec5ec9a 100644 --- a/src/hydrate/platform/index.ts +++ b/src/hydrate/platform/index.ts @@ -111,7 +111,8 @@ const hostRefs: WeakMap = new WeakMap(); export const getHostRef = (ref: d.RuntimeRef) => hostRefs.get(ref); -export const registerInstance = (lazyInstance: any, hostRef: d.HostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef); +export const registerInstance = (lazyInstance: any, hostRef: d.HostRef) => + hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef); export const registerHost = (elm: d.HostElement, cmpMeta: d.ComponentRuntimeMeta) => { const hostRef: d.HostRef = { @@ -159,6 +160,7 @@ export { getElement, getValue, setValue, + Fragment, Host, insertVdomAnnotations, parsePropertyValue,