We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb3f63f commit a511dc7Copy full SHA for a511dc7
packages/react-server/src/ReactFlightServer.js
@@ -773,12 +773,8 @@ const Dispatcher: DispatcherType = {
773
return callback;
774
},
775
useDebugValue(): void {},
776
- useDeferredValue<T>(value: T): T {
777
- return value;
778
- },
779
- useTransition(): [(callback: () => void) => void, boolean] {
780
- return [() => {}, false];
781
+ useDeferredValue: (unsupportedHook: any),
+ useTransition: (unsupportedHook: any),
782
getCacheForType<T>(resourceType: () => T): T {
783
invariant(
784
currentCache,
0 commit comments