Skip to content

Commit da3471d

Browse files
committed
Add supportsFlight flag to indicate that this DevTools Supports Flight Clients
1 parent 99cba2b commit da3471d

File tree

1 file changed

+3
-0
lines changed
  • packages/react-devtools-shared/src

1 file changed

+3
-0
lines changed

packages/react-devtools-shared/src/hook.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ export function installHook(target: any): DevToolsHook | null {
564564
// React v16 checks the hook for this to ensure DevTools is new enough.
565565
supportsFiber: true,
566566

567+
// React Flight Client checks the hook for this to ensure DevTools is new enough.
568+
supportsFlight: true,
569+
567570
// React calls these methods.
568571
checkDCE,
569572
onCommitFiberUnmount,

0 commit comments

Comments
 (0)