Posts by user2174398 • 1 point
2 posts
-
0
votes1
answer56
viewsA: How to update context value when going back to the React page?
I was able to resolve with React-Navigation useFocusEffect() which updates the data passed on it as soon as the page gets the focus.
react-nativeanswered user2174398 1 -
-1
votes1
answer56
viewsQ: How to update context value when going back to the React page?
I’m using the context to pass the data to the pages, but when I go back one page and change the value it has in the context, and then go forward to the other page, the page doesn’t update with the…
react-nativeasked user2174398 1