-
I have a question When I switch to other apps or switch back from other apps, will useFocusEffect still be triggered? According to my understanding, switching to a different app should be considered as losing focus, but during my testing process, I found that it did not trigger it. I apologize for any mistakes in my expression as English is not my native language😄 "@react-navigation/native": "^6.1.8",
"@react-navigation/native-stack": "^6.9.14",
"@react-navigation/stack": "^6.3.18", |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
No, it's only about the focus state of screens in the app. Not the focus state of the app. |
Beta Was this translation helpful? Give feedback.
-
@zach-xing Here is a hook I made to solve this exact issue:
I hope you find this helpful :) |
Beta Was this translation helpful? Give feedback.
No, it's only about the focus state of screens in the app. Not the focus state of the app.