Skip to content

Commit

Permalink
ReactDom
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Feb 10, 2024
1 parent d753bf1 commit 64cd3bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/houdini-react/src/plugin/codegen/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import { serverAdapterFactory, _serverHandler } from '$houdini/runtime/router/se
import { HoudiniClient } from '$houdini/runtime/client'
import { renderToStream } from 'houdini-react/server'
import React from 'react'
import ReactDom from 'react-dom/server'
import { router_cache } from '../../runtime/routing'
// @ts-expect-error
Expand Down Expand Up @@ -70,7 +71,7 @@ export const on_render =
return new Response('not found', { status: 404 })
}
const stream = React.renderToReadableStream(React.createElement(App, {
const stream = ReactDom.renderToReadableStream(React.createElement(App, {
initialURL: url,
cache: cache,
session: session,
Expand Down

0 comments on commit 64cd3bf

Please sign in to comment.