mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 20:57:17 +01:00
The static class property singleton pattern doesn't survive HMR when module boundaries get crossed. New dials would register with a fresh registry instance while DialsOverlay stayed subscribed to the old one. Fix: Store the singleton on `window.__NITESHIFT_DIALS_REGISTRY__` so it persists across module re-evaluations during hot reload. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .eslintignore | ||
| .gitignore | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||