I have main screen A. From A it's possible to navigate B, C, D screens. In most cases I need to refresh screen A on focus event, only A shouldn't be refreshed when navigating back from D.
How can I implement this scenario in react native using hooks?
I think you can use the react navigation lifecycle events like this
here is the documentation: https://reactnavigation.org/docs/navigation-lifecycle#react-navigation-lifecycle-events