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 162f501 commit 976afb6Copy full SHA for 976afb6
packages/plugin-rsc/examples/browser-mode/src/framework/entry.rsc.tsx
@@ -13,12 +13,6 @@ export function initialize() {
13
ReactServer.setRequireModule({ load: (id) => import(/* @vite-ignore */ id) })
14
}
15
16
-let root: React.ReactNode
17
-
18
-export function setRoot(root_: React.ReactNode) {
19
- root = root_
20
-}
21
22
export async function fetchServer(request: Request): Promise<Response> {
23
const isAction = request.method === 'POST'
24
let returnValue: unknown | undefined
0 commit comments