Skip to content

Commit 739948a

Browse files
committed
Don't expose getComponentStackForFiber and getSourceForFiber
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.
1 parent 075dc80 commit 739948a

File tree

1 file changed

+0
-2
lines changed
  • packages/react-devtools-shared/src/backend/fiber

1 file changed

+0
-2
lines changed

packages/react-devtools-shared/src/backend/fiber/renderer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4658,8 +4658,6 @@ export function attach(
46584658
findNativeNodesForElementID,
46594659
flushInitialOperations,
46604660
getBestMatchForTrackedPath,
4661-
getComponentStackForFiber,
4662-
getSourceForFiber,
46634661
getDisplayNameForElementID,
46644662
getFiberForNative,
46654663
getElementIDForNative,

0 commit comments

Comments
 (0)