dillon1000/react

Commit

[DevTools] Remove findCurrentFiberUsingSlowPathByFiberInstance (#30818)

We always track the last committed Fiber on `FiberInstance.data`.


https://github.com/facebook/react/blob/dcae56f8b72f625d8affe5729ca9991b31a492ac/packages/react-devtools-shared/src/backend/fiber/renderer.js#L3068

So we can now remove this complex slow path to get the current fiber.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-shared/src/backend/fiber/renderer.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…