src/rally_runtime/rally_effect_ffi.mjs

// Browser-side effect FFI for rally_runtime/effect.gleam

export function navigate(path) {
  globalThis.history?.pushState(null, "", path);
  globalThis.dispatchEvent(new PopStateEvent("popstate"));
}