On some pages it would make sense to either add useFocusEffect or a way to refresh. Either of these would re-fetch data relevant to that screen from the database, to update the store with.
This comes in handy in cases where other users have made changes, in some way shape or form, that updates the database.
On some pages it would make sense to either add
useFocusEffect
or a way to refresh. Either of these would re-fetch data relevant to that screen from the database, to update the store with. This comes in handy in cases where other users have made changes, in some way shape or form, that updates the database.