mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
8cb6a1c034
Similar to #28698, this removes the `unstable_getCacheSignal()` API since we don't intend to ship this to stable.
19 lines
460 B
JavaScript
19 lines
460 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 {CacheDispatcher} from 'react-reconciler/src/ReactInternalTypes';
|
|
|
|
function getCacheForType<T>(resourceType: () => T): T {
|
|
throw new Error('Not implemented.');
|
|
}
|
|
|
|
export const DefaultCacheDispatcher: CacheDispatcher = {
|
|
getCacheForType,
|
|
};
|