React question detail
4. **Double Buffering with Two Trees**
- React maintains two trees:
- Current Tree – what's visible on the screen.
- Work-In-Progress Tree – the next version being built in memory.
- Only after the new tree is fully ready, React commits it, making it the new current tree.