pub(crate) fn force_reload() {
    web_sys::window()
        .unwrap()
        .location()
        .reload_with_forceget(true)
        .unwrap();
}
Force-reloads the page. Any code after this will NOT be called, as the
browser will completely reload the page, dumping your code and restarting
from the beginning. This will result in a total loss of all state unless
it's frozen in some way.

Note that the parameter that forces the browser to bypass its cache is
non-standard, and only impacts Firefox. On all other browsers, this has no
effect.

# Panics
This will panic if it was impossible to reload (which could be caused by a
*very* old browser). Don't worry about this, because the panic handler has
probably already been fired long ago if that's the kind of environment
we're working in.
packages/perseus/src/state/live_reload.rs