In PWA poffline app, on page refresh by using mx.reloadWithState() function, data is not getting restored.

In PWA offline app, I am using mx.reloadWithState() function in JavaScript to refresh the page whenever user changes the language of the app. Language is getting changed properly and even page getting refreshed. But what is happening is, post page refresh, data of application is not being restored properly. What could be the possible solution for this?
0 answers