3 ms·
what the fuck does this mean
by bertiewhykovich 10y ago
what the fuck does this mean
- jinushaun 10y agoThe article was a whole lot of nothing, but TIL that React doesn't already merge/coalesce overlapping `setState` operations. Sounds like Fiber will start doing that.
- danabramov 10y agoReact does merge setState if they are within an event handler. It goes that more aggressively in Fiber though because setState is deferred.