Skip to content

Commit c3f1afa

Browse files
committed
Align InteractionManager Deprecation Notice w/ Warning
1 parent 9623841 commit c3f1afa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/interactionmanager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: 🗑️ InteractionManager
66
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';
77

88
:::warning Deprecated
9-
Use the [`setImmediate`](timers) instead.
9+
Avoid long-running work and use [`requestIdleCallback`](global-requestIdleCallback) or [`setImmediate`](timers) instead.
1010
:::
1111

1212
InteractionManager allows long-running work to be scheduled after any interactions/animations have completed. In particular, this allows JavaScript animations to run smoothly.

0 commit comments

Comments
 (0)