React · Senior · Question 2 of 75
What is Fiber in React?
- ✓Correct answer: The reconciler architecture: rendering is split into interruptible units of work
- 2A built-in React HTTP client for streaming data from the server
- 3An alternative DOM engine that React uses instead of the browser's
Explanation
Fiber (React 16+) represents each tree node as a "fiber" object with information about its work. This makes it possible to pause, interrupt and prioritize rendering and reuse work - the foundation of concurrent features (transitions, Suspense). The old stack reconciler walked the tree recursively and couldn't stop.