Skip to content
DevDepth

Tag: time-slicing

2 items under this tag.

Tag Filter

All Content
9 min readreact-internalsReactInternals

How React Scheduler Works: Min-Heaps, MessageChannel, Yielding, and Priority Timeouts

Understand how React Scheduler really works: taskQueue and timerQueue min-heaps, priority timeouts, MessageChannel host callbacks, cooperative yielding, and why expired work stops waiting.

8 min readreact-internalsReactInternals

React Time Slicing: How Fiber, Scheduler, Yielding, and Resumption Work

Understand how React time slicing really works: Fiber turns rendering into units of work, the Scheduler decides when to yield, and work-in-progress state lets React resume or restart renders.