Fiber

The internal object React keeps for each component instance, and the name of the React 16+ engine built on those objects.

In more detail

Each fiber records the component type, its props, its state and hook list, and pointers to its first child, next sibling and parent (called return). Walking these pointers replaces deep recursion, so React can stop after any fiber, handle something urgent and resume later. You never create fibers yourself; they explain where state lives and why hooks depend on call order.

Related terms

Taught in

References