1
- import { isDev , isBrowser } from '@qwik.dev/core/build' ;
2
- import { assertDefined } from '../error/assert' ;
3
- import { QError , qError } from '../error/error' ;
1
+ // keep these imports above the rest to prevent circular dep issues
4
2
import { getPlatform , isServerPlatform } from '../platform/platform' ;
5
3
import { verifySerializable } from '../utils/serialize-utils' ;
6
- // ^ keep these above to prevent circular dep issues
4
+ // ^^^ keep these imports above the rest to prevent circular dep issues
5
+
6
+ import { isBrowser , isDev } from '@qwik.dev/core/build' ;
7
7
// @ts -expect-error we don't have types for the preloader
8
8
import { p as preload } from '@qwik.dev/core/preloader' ;
9
9
import {
@@ -14,6 +14,8 @@ import {
14
14
type InvokeContext ,
15
15
type InvokeTuple ,
16
16
} from '../../use/use-core' ;
17
+ import { assertDefined } from '../error/assert' ;
18
+ import { QError , qError } from '../error/error' ;
17
19
import { getQFuncs , QInstanceAttr } from '../utils/markers' ;
18
20
import { isPromise , maybeThen , retryOnPromise } from '../utils/promises' ;
19
21
import { qDev , qSerialize , qTest , seal } from '../utils/qdev' ;
@@ -74,6 +76,7 @@ export const createQRL = <TYPE>(
74
76
}
75
77
76
78
let _containerEl : Element | undefined ;
79
+
77
80
const qrl = async function ( this : unknown , ...args : QrlArgs < TYPE > ) {
78
81
const boundedFn = bindFnToContext . call ( this , tryGetInvokeContext ( ) ) ;
79
82
const result = await boundedFn ( ...args ) ;
0 commit comments