question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[InteractionManager] What are the best practices around using InteractionManager?

See original GitHub issue

I searched the code base and no one is using runAfterInteractions currently. I see that the Animated library is setting createInteractionHandle correctly. I can’t seem to find some proper guidance around where to smartly stop work when interaction is in progress.

Could someone please guide me or point me to some example that uses this API to ensure great performance and interactivity? Feel free to close otherwise, thanks!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
brentvatnecommented, Sep 6, 2015

Posting usage example repo link here so it’s easy to reference: https://github.com/brentvatne/run-after-interactions-exp

2reactions
brentvatnecommented, Aug 6, 2015

@paramaggarwal - not that I know of, I don’t believe that ListView creates any interaction handles, just Navigator and Animated at the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

InteractionManager - React Native
InteractionManager allows long-running work to be scheduled after any interactions/animations have completed. In particular, this allows ...
Read more >
What is InteractionManager and how is it used - GeeksforGeeks
The Interaction Manager is the native module that allows long-running work to be scheduled until an “interaction” has finished.
Read more >
ios - how to use InteractionManager.runAfterInteractions make ...
Here's a full example of what a performant Navigator scene might look like: import {Component} from 'react'; import {InteractionManager, ...
Read more >
What is InteractionManager and how is it used? - FullStack.Cafe
The main advantage of the repository pattern is that it abstracts the database behind it. Think of it as a tech-agnostic way of...
Read more >
XR Interaction Toolkit | 2.3.0-pre.1 - Unity - Manual
The loaded scenes must have at least one Interaction Manager for Interactors and Interactables to be able to communicate. Many of the methods...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found