Explain it in 60 seconds
Hot module replacement
Frontend Engineering · Testing and Tooling · Intermediate
What is hot module replacement (HMR), and how does it work?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Swap changed modules without full reload.
- Preserves app state.
- Dev server pushes updates over WebSocket.
- Framework integration (React Fast Refresh).
- Falls back to reload when needed.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.