What's the best way to use JS to refresh the page? or How can I force a page refresh with JS?

20 Replies, 1185 Views

for a soft js refresh the page, u could try `history.go(0)`.

it’s less aggressive than `location.reload()` and might feel smoother for users.

but tbh, all these methods are kinda similar—just pick one and debug if it fails.

Messages In This Thread



Users browsing this thread: 1 Guest(s)