How to get the fresh state of page when hit back button of browser #769
Unanswered
Maninder-cell
asked this question in
Help
Replies: 2 comments
-
There is an issue which describes your problem. It also contains a workaround snippet, which you can add to your code. See #565 |
Beta Was this translation helpful? Give feedback.
0 replies
-
that super, popstate for back and forward in browser history if you need more control to do it as preserving |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Currently, I'm working on laravel eCommerce application with vuejs and interia. Now the only problem is that when the user clicks on the browser's back button, it shows the previous state of the page, not the new fresh state of the page.
e.g
page A shows the price of each product in the table.
when the admin user clicks on any product on page A redirect to update the product page B and when the user updates the product price and hits back. Lead the user to page A again and it shows the previous price of the product in the table, not the new price. basically, it showing the previous value not the fresh value. How to get a fresh page when the user hits the back button.
Beta Was this translation helpful? Give feedback.
All reactions