If you’re just testing, `location.reload()` is fine. But for production, consider if you *really* need a full reload.
Sometimes `window.location.hash = ‘#’ + Math.random()` can force a refresh without a full reload. Weird trick, but it works!
Also, check out Stack Overflow for reload web page javascript edge cases—tons of solutions there.
Sometimes `window.location.hash = ‘#’ + Math.random()` can force a refresh without a full reload. Weird trick, but it works!
Also, check out Stack Overflow for reload web page javascript edge cases—tons of solutions there.
