You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -434,25 +405,6 @@ This module re-exports RSC runtime API provided by `react-server-dom/client.brow
434
405
-`createFromFetch`: a robust way of `createFromReadableStream((await fetch("...")).body)`
435
406
-`encodeReply/setServerCallback`: server function related...
436
407
437
-
## High level API
438
-
439
-
> [!NOTE]
440
-
> High level API is deprecated. Please write on your own `@vitejs/plugin-rsc/{rsc,ssr,browser}` integration.
441
-
442
-
This is a wrapper of `react-server-dom` API and helper API to setup a minimal RSC app without writing own framework code like [`./examples/starter/src/framework`](./examples/starter/src/framework/). See [`./examples/basic`](./examples/basic/) for how this API is used.
443
-
444
-
### `@vitejs/plugin-rsc/extra/rsc`
445
-
446
-
-`renderRequest`
447
-
448
-
### `@vitejs/plugin-rsc/extra/ssr`
449
-
450
-
-`renderHtml`
451
-
452
-
### `@vitejs/plugin-rsc/extra/browser`
453
-
454
-
-`hydrate`
455
-
456
408
## CSS Support
457
409
458
410
The plugin automatically handles CSS code-splitting and injection for server components. This eliminates the need to manually call [`import.meta.viteRsc.loadCss()`](#importmetaviterscloadcss) in most cases.
0 commit comments