We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718ca9e commit e97a8ecCopy full SHA for e97a8ec
packages/docs/src/routes/docs/cookbook/streaming-deferred-loaders/index.mdx
@@ -19,7 +19,7 @@ By returning an asynchronous function from our `routeLoader$` we can stream/defe
19
import { Resource, component$ } from '@builder.io/qwik';
20
import { routeLoader$ } from '@builder.io/qwik-city';
21
22
-export const useMyData = routeLoader$(() => {
+export const useMyData = routeLoader$(async () => {
23
return async () => {
24
await delay(4_000);
25
return 'MyData ' + Math.random();
0 commit comments