use-hot-module-reload (npm): React hook that triggers a callback after hot-module reloading has been performed (for any module, not just the one it was used in)
Keywords: hmr|hot-module-reload|webpack-vite