3 ms·
React Native adds an additional timer: InteractionManager.runAfterInteractions[0] It's useful for running code after an animation has completed, to make it eas
by Jarred 8y ago
React Native adds an additional timer: InteractionManager.runAfterInteractions[0]
It's useful for running code after an animation has completed, to make it easier for animations to be smooth. Would be cool for something like this to be added into JS proper (particularly if CSS or JS animations are not hardware-accelerated)
[0]: https://facebook.github.io/react-native/docs/interactionmanager https://facebook.github.io/react-native/docs/interactionmana...