</>
Skill
Recall
RECALL WHAT YOU KNOW
Library
Planner
Why SkillRecall
About
News
Contact
Sign in
Explore Library
Get early access
Get early access
Explore Library
Quiz
Intermediate
Save
useFocusEffect
Running effects when a screen gains focus.
When does the callback passed to useFocusEffect run?
A
Every time the screen comes into focus, with cleanup when it loses focus
B
Only once when the app first launches
C
Only when the component unmounts permanently
D
Whenever any screen in the app changes, regardless of focus