2 ms·
Where can I read about the internals that make this work? For example, how does the scheduler work? Does it still compute a tree for an old setstate or does it
by drudru11 9y ago
Where can I read about the internals that make this work? For example, how does the scheduler work? Does it still compute a tree for an old setstate or does it unschedule existing computations when a new high priority setstate ones in?
Update:
I took a look at their work on fibers. It looks like they are manually deciding on what is or is not enough computation to perform in a fiber. This is fine, but it will require some careful attention by the react team.
It would be neat if they could use web workers for some of this.