how to use InteractionManager.runAfterInteractions make navigator transitions faster

Viewed 26408

Because of complex logic, I have to render many components when this.props.navigator.push(), slow navigator transitions make app unavailable.

enter image description here

then I notice here provide InteractionManager.runAfterInteractions api to solve this problem,

I need bring most of components which consumed long time to callback after navigator animation finished, but I don't know where should I call it,

maybe a simple example is enough,

thanks for your time.

4 Answers
Related