Skip to content

Commit b06a5cc

Browse files
authored
Merge branch 'main' into patch-11
2 parents 3eb50fb + e97a8ec commit b06a5cc

File tree

2 files changed

+11
-6
lines changed
  • packages/docs/src/routes/docs

2 files changed

+11
-6
lines changed

packages/docs/src/routes/docs/cookbook/streaming-deferred-loaders/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ By returning an asynchronous function from our `routeLoader$` we can stream/defe
1919
import { Resource, component$ } from '@builder.io/qwik';
2020
import { routeLoader$ } from '@builder.io/qwik-city';
2121

22-
export const useMyData = routeLoader$(() => {
22+
export const useMyData = routeLoader$(async () => {
2323
return async () => {
2424
await delay(4_000);
2525
return 'MyData ' + Math.random();

packages/docs/src/routes/docs/integrations/modular-forms/index.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ contributors:
88
- uceumice
99
- Benny-Nottonson
1010
- mrhoodz
11-
updated_at: '2023-10-03T18:53:59Z'
11+
- extrordinaire
12+
updated_at: '2025-06-21T22:03:36.397Z'
1213
created_at: '2023-04-28T22:00:03Z'
1314
---
1415

@@ -21,25 +22,29 @@ import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';
2122

2223
To get started, install the `@modular-forms/qwik` package:
2324

25+
>⚠️ Warning:
26+
>Make sure to install @modular-forms/qwik as a devDependency, since it only runs at build/SSR time.
27+
>Putting it in your regular dependencies will trigger Vite plugin errors.
28+
2429
<PackageManagerTabs>
2530
<span q:slot="pnpm">
2631
```shell
27-
pnpm install @modular-forms/qwik
32+
pnpm add -D @modular-forms/qwik
2833
```
2934
</span>
3035
<span q:slot="npm">
3136
```shell
32-
npm install @modular-forms/qwik
37+
npm install -D @modular-forms/qwik
3338
```
3439
</span>
3540
<span q:slot="yarn">
3641
```shell
37-
yarn add @modular-forms/qwik
42+
yarn add -D @modular-forms/qwik
3843
```
3944
</span>
4045
<span q:slot="bun">
4146
```shell
42-
bun install @modular-forms/qwik
47+
bun install -D @modular-forms/qwik
4348
```
4449
</span>
4550
</PackageManagerTabs>

0 commit comments

Comments
 (0)