| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | * |
| 7 | * @flow |
| 8 | */ |
| 9 | |
| 10 | // Custom implementation of FlightClientConfigDOM. |
| 11 | // Resource hint dispatching is a no-op since we handle resource loading |
| 12 | // through our own runtime. |
| 13 | |
| 14 | import type { |
| 15 | HintCode, |
| 16 | HintModel, |
| 17 | } from 'react-dom-bindings/src/server/ReactFlightServerConfigDOM'; |
| 18 | |
| 19 | export function dispatchHint<Code: HintCode>( |
| 20 | code: Code, |
| 21 | model: HintModel<Code>, |
| 22 | ): void {} |
| 23 | |
| 24 | export function preinitModuleForSSR( |
| 25 | href: string, |
| 26 | nonce: ?string, |
| 27 | crossOrigin: ?string, |
| 28 | ) {} |
| 29 | |
| 30 | export function preinitScriptForSSR( |
| 31 | href: string, |
| 32 | nonce: ?string, |
| 33 | crossOrigin: ?string, |
| 34 | ) {} |