diff --git a/docs/guides/migrating-react-router-app.md b/docs/guides/migrating-react-router-app.md index 41384462f37..9bbe7e8e7e4 100644 --- a/docs/guides/migrating-react-router-app.md +++ b/docs/guides/migrating-react-router-app.md @@ -52,7 +52,6 @@ import type { AppLoadContext, EntryContext, } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/integration/defer-test.ts b/integration/defer-test.ts index 8694b73c751..3b4df9356f4 100644 --- a/integration/defer-test.ts +++ b/integration/defer-test.ts @@ -979,15 +979,10 @@ test.describe("aborted", () => { test.beforeAll(async () => { fixture = await createFixture({ - //////////////////////////////////////////////////////////////////////////// - // 💿 Next, add files to this object, just like files in a real app, - // `createFixture` will make an app and run your tests against it. - //////////////////////////////////////////////////////////////////////////// files: { "app/entry.server.tsx": js` import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; - import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/packages/remix-dev/config/defaults/entry.server.node.tsx b/packages/remix-dev/config/defaults/entry.server.node.tsx index 721c84163af..6e26398f85d 100644 --- a/packages/remix-dev/config/defaults/entry.server.node.tsx +++ b/packages/remix-dev/config/defaults/entry.server.node.tsx @@ -1,7 +1,6 @@ import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/scripts/playground/template/app/entry.server.tsx b/scripts/playground/template/app/entry.server.tsx index 7a0415be8ba..31c571005f6 100644 --- a/scripts/playground/template/app/entry.server.tsx +++ b/scripts/playground/template/app/entry.server.tsx @@ -1,6 +1,5 @@ import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/templates/arc/app/entry.server.tsx b/templates/arc/app/entry.server.tsx index 7eb9bf52d85..b08693e8436 100644 --- a/templates/arc/app/entry.server.tsx +++ b/templates/arc/app/entry.server.tsx @@ -7,7 +7,6 @@ import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/templates/express/app/entry.server.tsx b/templates/express/app/entry.server.tsx index 7eb9bf52d85..b08693e8436 100644 --- a/templates/express/app/entry.server.tsx +++ b/templates/express/app/entry.server.tsx @@ -7,7 +7,6 @@ import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/templates/fly/app/entry.server.tsx b/templates/fly/app/entry.server.tsx index 7eb9bf52d85..b08693e8436 100644 --- a/templates/fly/app/entry.server.tsx +++ b/templates/fly/app/entry.server.tsx @@ -7,7 +7,6 @@ import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/templates/remix-javascript/app/entry.server.jsx b/templates/remix-javascript/app/entry.server.jsx index e3d5bd66612..d8156550723 100644 --- a/templates/remix-javascript/app/entry.server.jsx +++ b/templates/remix-javascript/app/entry.server.jsx @@ -5,7 +5,7 @@ */ import { PassThrough } from "node:stream"; -import { Response } from "@remix-run/node"; + import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server"; diff --git a/templates/remix/app/entry.server.tsx b/templates/remix/app/entry.server.tsx index 7eb9bf52d85..b08693e8436 100644 --- a/templates/remix/app/entry.server.tsx +++ b/templates/remix/app/entry.server.tsx @@ -7,7 +7,6 @@ import { PassThrough } from "node:stream"; import type { AppLoadContext, EntryContext } from "@remix-run/node"; -import { Response } from "@remix-run/node"; import { RemixServer } from "@remix-run/react"; import isbot from "isbot"; import { renderToPipeableStream } from "react-dom/server";