We have an application, where we have stored a few values using the storeValue property on the page load of the landing page, and these store values we are using for all pages throughout the application.
Now suppose after launching the application, users immediately move to a page they want to work on then that page will not work since store values are not updated because it takes time to set these values in the page loading of the landing page.
We have a solution that we will keep a validation and update the store value in the page load function for every page but since this is a huge application and also, we don't want to repeat the same code for multiple places. So please help us with a better solution.