Search code examples
react-nativeandroid-webview

refresh webview react native


How can we refresh/reload previous screen in webview, Lets say we have 2 screens A, B: A -> B When we go back from screen B to screen A,it goes back but with old state/data. How can we refresh it?


Solution

  • i found the solution, just add unmountInactiveRoutes:true to your createDrawerNavigator class