MCPcopy Create free account
hub / github.com/react/react / resetCurrentFiber

Function resetCurrentFiber

packages/react-reconciler/src/ReactCurrentFiber.js:76–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76export function resetCurrentFiber() {
77 if (__DEV__) {
78 ReactSharedInternals.getCurrentStack = null;
79 isRendering = false;
80 }
81 current = null;
82}
83
84export function setCurrentFiber(fiber: Fiber | null) {
85 if (__DEV__) {

Callers 1

handleThrowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected