facebook/react · error · Error
162
162
Error message
This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.
What it means
Error "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue." thrown in facebook/react.
Source
Thrown at packages/react-reconciler/src/ReactFiberApplyGesture.js:514
INSERT_APPEARING_PAIR,
);
} else {
recursivelyInsertNew(finishedWork, instance, null, visitPhase);
}
if (parentViewTransition !== null) {
if (parentViewTransition.clones === null) {
parentViewTransition.clones = [instance];
} else {
parentViewTransition.clones.push(instance);
}
}
break;
}
case HostText: {
const textInstance: TextInstance = finishedWork.stateNode;
// $FlowFixMe[invalid-compare]
if (textInstance === null) {
throw new Error(
'This should have a text node initialized. This error is likely ' +
'caused by a bug in React. Please file an issue.',
);
}
// For insertions we don't need to clone. It's already new state node.
if (visitPhase !== INSERT_APPEARING_PAIR) {
appendChild(hostParentClone, textInstance);
trackHostMutation();
}
break;
}
case HostPortal: {
// TODO: Consider what should happen to Portals. For now we exclude them.
break;
}
case OffscreenComponent: {
const newState: OffscreenState | null = finishedWork.memoizedState;
const isHidden = newState !== null;View on GitHub (pinned to eafeac097b)
When it happens
Trigger: Thrown at packages/react-reconciler/src/ReactFiberApplyGesture.js:514 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of facebook/react@eafeac097b (2026-08-21).
Data as JSON: /api/errors/6465e8f1e06a2ec6.
Report an issue: GitHub.