[Webkit-unassigned] [Bug 164193] Implement requestIdleCallback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 06:55:12 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=164193

Tyler Gross <tylergross28 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tylergross28 at gmail.com

--- Comment #7 from Tyler Gross <tylergross28 at gmail.com> ---
It's worth noting that React heavily relies on requestIdleCallback for scheduling. If requestIdleCallback is missing, then React falls back to setTimeout, which can lead to running much more code than is necessary.

Sources:
https://github.com/facebook/react/blob/c7ce0091dcb2036e19df980247c9a4388ad75741/packages/shared/ReactDOMFrameScheduling.js#L71
https://twitter.com/dan_abramov/status/962810069510492167?lang=en

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220324/63e04849/attachment.htm>


More information about the webkit-unassigned mailing list