diff --git a/docs/interactionmanager.md b/docs/interactionmanager.md index 9e0f230df03..8eac16a4b70 100644 --- a/docs/interactionmanager.md +++ b/docs/interactionmanager.md @@ -6,7 +6,7 @@ title: 🗑️ InteractionManager import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; :::warning Deprecated -Use the [`setImmediate`](timers) instead. +Avoid long-running work and use [`requestIdleCallback`](global-requestIdleCallback) instead. ::: InteractionManager allows long-running work to be scheduled after any interactions/animations have completed. In particular, this allows JavaScript animations to run smoothly. diff --git a/website/versioned_docs/version-0.80/interactionmanager.md b/website/versioned_docs/version-0.80/interactionmanager.md index 9e0f230df03..26e9ed0d69c 100644 --- a/website/versioned_docs/version-0.80/interactionmanager.md +++ b/website/versioned_docs/version-0.80/interactionmanager.md @@ -6,7 +6,7 @@ title: 🗑️ InteractionManager import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; :::warning Deprecated -Use the [`setImmediate`](timers) instead. +Avoid long-running work and use `requestIdleCallback` instead. ::: InteractionManager allows long-running work to be scheduled after any interactions/animations have completed. In particular, this allows JavaScript animations to run smoothly. diff --git a/website/versioned_docs/version-0.81/interactionmanager.md b/website/versioned_docs/version-0.81/interactionmanager.md index 9e0f230df03..26e9ed0d69c 100644 --- a/website/versioned_docs/version-0.81/interactionmanager.md +++ b/website/versioned_docs/version-0.81/interactionmanager.md @@ -6,7 +6,7 @@ title: 🗑️ InteractionManager import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants'; :::warning Deprecated -Use the [`setImmediate`](timers) instead. +Avoid long-running work and use `requestIdleCallback` instead. ::: InteractionManager allows long-running work to be scheduled after any interactions/animations have completed. In particular, this allows JavaScript animations to run smoothly.