GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error for deferred value and transition in Server Components (#20657) · react/react@a511dc7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-server/src
    • ReactFlightServer.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-server/src/ReactFlightServer.js‎

Copy file name to clipboardExpand all lines: packages/react-server/src/ReactFlightServer.js
+2-6Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -773,12 +773,8 @@ const Dispatcher: DispatcherType = {
773773
return callback;
774774
},
775775
useDebugValue(): void {},
776-
useDeferredValue<T>(value: T): T {
777-
return value;
778-
},
779-
useTransition(): [(callback: () => void) => void, boolean] {
780-
return [() => {}, false];
781-
},
776+
useDeferredValue: (unsupportedHook: any),
777+
useTransition: (unsupportedHook: any),
782778
getCacheForType<T>(resourceType: () => T): T {
783779
invariant(
784780
currentCache,

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.