diff --git a/packages/react-server/src/ReactFlightServer.js b/packages/react-server/src/ReactFlightServer.js index 2e7d48ad7ca1a..b80798cd66f4b 100644 --- a/packages/react-server/src/ReactFlightServer.js +++ b/packages/react-server/src/ReactFlightServer.js @@ -773,12 +773,8 @@ const Dispatcher: DispatcherType = { return callback; }, useDebugValue(): void {}, - useDeferredValue(value: T): T { - return value; - }, - useTransition(): [(callback: () => void) => void, boolean] { - return [() => {}, false]; - }, + useDeferredValue: (unsupportedHook: any), + useTransition: (unsupportedHook: any), getCacheForType(resourceType: () => T): T { invariant( currentCache,