noob question - expo react native - react navigation modal issue
I need help with react-navigation’s modal component. At the moment the modal opens in front of the screen from which it is called from which is what i want.
But when i close it, it does not refresh the screen from where it was called from via use navigation.goBack().
This makes sense as the screen is not destroyed. It sits behind the modal, But that screens data is being updated via the model so i need it to reflect that update immediately upon the modal closing. I’m using react query.
Can anyone help. The screen does not refresh upon the modal closing is there a way to force this behaviour?
0 Replies