Skip to content

Commit

Permalink
Add supportsFlight flag to indicate that this DevTools Supports Fligh…
Browse files Browse the repository at this point in the history
…t Clients
  • Loading branch information
sebmarkbage committed Sep 7, 2024
1 parent 99cba2b commit da3471d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-devtools-shared/src/hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,9 @@ export function installHook(target: any): DevToolsHook | null {
// React v16 checks the hook for this to ensure DevTools is new enough.
supportsFiber: true,

// React Flight Client checks the hook for this to ensure DevTools is new enough.
supportsFlight: true,

// React calls these methods.
checkDCE,
onCommitFiberUnmount,
Expand Down

0 comments on commit da3471d

Please sign in to comment.