Quick overview of React Fiber

2 min read

Fiber nodes

function Counter() {
  const [count, setCount] = useState(0);
  return (
    <React.Fragment>
      <button>increase</button>
      <span>{count}</span>
    </React.Fragment>
  );
}

Current tree and work-in-progress tree

Effect list

Render phase

Additional information:

Commit phase

Higher-level overview

Reference