Vite HMR triggering full page reloads during module invalidation
Vite uses native ES modules and a WebSocket-based runtime to handle Hot Module Replacement (HMR). While the import.meta.hot API allows modules to define custom update logic, the system is designed to bubble updates up to the nearest HMR boundary. There is uncertainty regarding the exact conditions that force the dev server to abandon a partial update in favo