I use react-navigation in my app.
If I navigate from screen A
to Screen B
, how can I got some feedback, if the transition is completed.
import { InteractionManager } from 'react-native
and then
componentDidMount(){
InteractionManager.runAfterInteractions(() => {
//your code
})
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With