diff --git a/packages/remix-dev/__tests__/migrations/fixtures/indie-stack/app/entry.server.tsx b/packages/remix-dev/__tests__/migrations/fixtures/indie-stack/app/entry.server.tsx index 92ac9fc5133..f2bba9eb1c9 100644 --- a/packages/remix-dev/__tests__/migrations/fixtures/indie-stack/app/entry.server.tsx +++ b/packages/remix-dev/__tests__/migrations/fixtures/indie-stack/app/entry.server.tsx @@ -16,7 +16,11 @@ export default function handleRequest( let didError = false; let { pipe, abort } = renderToPipeableStream( - , + , { onShellReady: () => { let body = new PassThrough(); diff --git a/packages/remix-dev/config/defaults/entry.server.node.tsx b/packages/remix-dev/config/defaults/entry.server.node.tsx index 05d7a0ef9b1..7cf247b54b0 100644 --- a/packages/remix-dev/config/defaults/entry.server.node.tsx +++ b/packages/remix-dev/config/defaults/entry.server.node.tsx @@ -16,7 +16,11 @@ export default function handleRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onAllReady() { const body = new PassThrough(); diff --git a/scripts/playground/template/app/entry.server.tsx b/scripts/playground/template/app/entry.server.tsx index bdea439be98..d66647db06a 100644 --- a/scripts/playground/template/app/entry.server.tsx +++ b/scripts/playground/template/app/entry.server.tsx @@ -21,7 +21,11 @@ export default function handleRequest( let didError = false; let { pipe, abort } = renderToPipeableStream( - , + , { [callbackName]: () => { let body = new PassThrough(); diff --git a/templates/express/app/entry.server.tsx b/templates/express/app/entry.server.tsx index d349f8e1a84..a7bacb9242e 100644 --- a/templates/express/app/entry.server.tsx +++ b/templates/express/app/entry.server.tsx @@ -38,7 +38,11 @@ function handleBotRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onAllReady() { const body = new PassThrough(); @@ -79,7 +83,11 @@ function handleBrowserRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onShellReady() { const body = new PassThrough(); diff --git a/templates/fly/app/entry.server.tsx b/templates/fly/app/entry.server.tsx index d349f8e1a84..a7bacb9242e 100644 --- a/templates/fly/app/entry.server.tsx +++ b/templates/fly/app/entry.server.tsx @@ -38,7 +38,11 @@ function handleBotRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onAllReady() { const body = new PassThrough(); @@ -79,7 +83,11 @@ function handleBrowserRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onShellReady() { const body = new PassThrough(); diff --git a/templates/remix/app/entry.server.tsx b/templates/remix/app/entry.server.tsx index d349f8e1a84..a7bacb9242e 100644 --- a/templates/remix/app/entry.server.tsx +++ b/templates/remix/app/entry.server.tsx @@ -38,7 +38,11 @@ function handleBotRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onAllReady() { const body = new PassThrough(); @@ -79,7 +83,11 @@ function handleBrowserRequest( let didError = false; const { pipe, abort } = renderToPipeableStream( - , + , { onShellReady() { const body = new PassThrough();