How do I prevent webview component from refreshing on screen change?

Webview takes URL from firebase. I have a navbar at the bottom, upon navigating to a page and coming back on the webview component page, the webview component reloads the URL

Ideally I do not want the user's data on the webview component (partial form filling, navigation, logins, etc) to go away if a user switches screens.

Even if a user goes from /home (initial screen) to /page1 by clicking some internal link on /home, then goes to another screen and comes back, the webview loads back to /home.

2
4 replies