| 1 | /**
|
| 2 | * react-router v8.3.0
|
| 3 | *
|
| 4 | * Copyright (c) Remix Software Inc.
|
| 5 | *
|
| 6 | * This source code is licensed under the MIT license found in the
|
| 7 | * LICENSE.md file in the root directory of this source tree.
|
| 8 | *
|
| 9 | * @license MIT
|
| 10 | */
|
| 11 | import { escapeHtml } from "../dom/ssr/markup.js";
|
| 12 | //#region lib/server-runtime/serverHandoff.ts
|
| 13 | function createServerHandoffString(serverHandoff) {
|
| 14 | return escapeHtml(JSON.stringify(serverHandoff));
|
| 15 | }
|
| 16 | //#endregion
|
| 17 | export { createServerHandoffString };
|