Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function hotDisposeCallback(data) {
if (Refresh.hasUnrecoverableErrors()) {
window.location.reload();
}
// We have to mutate the data object to get data registered and cached
data.module = module;
}