3 ms·
> While I'll leave the nuances of how Fiber works in this GitHub repo by Andrew, the broad idea is that it enabled React to: > Pause work and come back to it l
by threatofrain 1y ago
> While I'll leave the nuances of how Fiber works in this GitHub repo by Andrew, the broad idea is that it enabled React to:
> Pause work and come back to it later.
> Assign priority to different types of work.
> Reuse previously completed work.
> Abort work if it's no longer needed.
Has anyone been using React concurrent mode? I heard so much about it once upon and time and haven't seen the discussion resurface very much.
- SebastianKra 1y agoIt's really convenient with search-as-you type patterns, where each keystroke updates an input in standard priority, and then a background update starts, suspends for the network query, and renders the list. Within the constraints of React, it's a genius solution to loading states, performance bottlenecks and server components.