mirror of
https://github.com/facebook/react.git
synced 2026-02-22 03:42:05 +00:00
This was used for Context but since ReactFlightNewContext is gone now this is no longer used.
32 lines
894 B
JavaScript
32 lines
894 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
import type {Request} from 'react-server/src/ReactFlightServer';
|
|
import type {ReactComponentInfo} from 'shared/ReactTypes';
|
|
|
|
export * from '../ReactFlightServerConfigBundlerCustom';
|
|
|
|
export * from '../ReactFlightServerConfigDebugNoop';
|
|
|
|
export type Hints = any;
|
|
export type HintCode = any;
|
|
// eslint-disable-next-line no-unused-vars
|
|
export type HintModel<T: any> = any;
|
|
|
|
export const supportsRequestStorage = false;
|
|
export const requestStorage: AsyncLocalStorage<Request | void> = (null: any);
|
|
|
|
export const supportsComponentStorage = false;
|
|
export const componentStorage: AsyncLocalStorage<ReactComponentInfo | void> =
|
|
(null: any);
|
|
|
|
export function createHints(): any {
|
|
return null;
|
|
}
|