You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I switch the scene, I will trigger the onExit method. At this time, I want to store some data in redux store, for example, the rolling position of flatlist. But onExit is a static method, and the static method can't get the this object, so it's not good to operate this.state
Because static function can't get this reference,but i want to save data to redux state, what can i do?
static onExit(){
// what can i do anything?
}
The text was updated successfully, but these errors were encountered: