Skip to content

Commit

Permalink
Don't expose getComponentStackForFiber and getSourceForFiber
Browse files Browse the repository at this point in the history
These are not used outside the renderer itself and shouldn't communicate
via Fibers externally.

console.js calls getStackByFiberInDevAndProd separately but that's
a separate source of abstraction violations.
  • Loading branch information
sebmarkbage committed Jul 28, 2024
1 parent 075dc80 commit 739948a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-devtools-shared/src/backend/fiber/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4658,8 +4658,6 @@ export function attach(
findNativeNodesForElementID,
flushInitialOperations,
getBestMatchForTrackedPath,
getComponentStackForFiber,
getSourceForFiber,
getDisplayNameForElementID,
getFiberForNative,
getElementIDForNative,
Expand Down

0 comments on commit 739948a

Please sign in to comment.