Skip to main content Link Search Menu Expand Document (external link)

Idle Callbacks

React hooks that wrap window.requestIdleCallback().

All of these hooks will automatically take care of unregistering / cancelling any pending idle callbacks that you started if the component unmounts for example.


Table of contents