Understanding Vite.js Hot Module Replacement: Requirements, Minimal Design, and Failure Modes
A concise architecture note that explains what Vite’s HMR needs, how it is built, where trust is enforced, how it operates, and when it falls back to a full reload.