How to refresh a page to load again the latest data? #9912
Unanswered
NormandoHall
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
From the very beginning I was used this:
But this causes to load
+page.server.js
twice, not only one.I also was tried using
beforeNavigate
, andafterNavigate
with the same behaviour.The only way I was found is cancelling the request in
beforeNavigate
:So, what is the correct way to reload the same page?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions