Hildebrandt Tobias
04/01/2025, 12:44 PMuseFocusEffect
but I can't find it in the wrappers.
Does anyone know if it's in and how to use it?Artem Kobzar
04/01/2025, 1:19 PMHildebrandt Tobias
04/01/2025, 1:26 PMreact-navigation/native
which in turn relies on react-native
.
So it won't be part of the wrappers, but maybe there is something similar?
I tried to ask perplexity, but that only referred me to non working examples
with useFocusEffect
and NavigationEvents
(also part of react-navigation
).
Alternatively, I just want to do something after the FC
is navigated back to (navigate(-1)).
Because it seems that the data loader are not executed again if the user returns to a FC
turansky
04/01/2025, 1:37 PMreact-router
?Hildebrandt Tobias
04/01/2025, 2:06 PMturansky
04/01/2025, 3:09 PMuseQuery
hook.Hildebrandt Tobias
04/01/2025, 3:17 PMturansky
04/01/2025, 3:50 PMHildebrandt Tobias
04/01/2025, 3:53 PMturansky
04/01/2025, 7:00 PM