dillon1000/react
Commit
Browse files Only expose FiberRoot at the top level instead of a Fiber (#8934)
It is strange to get a handle on the Fiber since it is one of possibly two root Fibers. The correct way to get the current Fiber is through the root.current. I exposed the Fiber originally because I thought we might use it for Portals but we went with a different approach. So we don't need this.
Changed paths2 files
First-parent comparisonsrc/renderers/noop/ReactNoop.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…