Hot module replacement (HMR) updates a running browser page when you save a source file it uses. Unlike a full page refresh, the update preserves page state, making it easier to keep working where you left off. section 2.2
A component development loop
A wrec project can display a `<hello-world>` component defined in `hello-world.ts`. Run the project with Vite using `npm run dev`, then save a source change and see the affected page update automatically. Vite is recommended for wrec projects, but it is not required. section 8.2
HMR is a development-server feature, not a requirement of web components or a particular component library. Vite provides it for projects using vanilla web components or Lit; Stencil projects support HMR without using Vite. These setup examples describe what HMR does, not how its module updates work internally. section 3.5 section 6.2
