Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API to Renderer to trigger a UI refresh on hot reload #30884

Merged
merged 11 commits into from
Mar 18, 2021
Prev Previous commit
Next Next commit
Update src/Components/Web.JS/src/GlobalExports.ts
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
  • Loading branch information
pranavkm and SteveSandersonMS authored Mar 17, 2021
commit 5bbe39693fcac8b2c7a9e20b1b80432832dc9494
4 changes: 2 additions & 2 deletions src/Components/Web.JS/src/GlobalExports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ interface IBlazor {
getLazyAssemblies?: any
dotNetCriticalError?: any
getSatelliteAssemblies?: any,
applyHotReload?: (id: string, metadataDelta: string, ilDeta: string) => void
applyHotReload?: (id: string, metadataDelta: string, ilDelta: string) => void
}
}

Expand All @@ -62,4 +62,4 @@ export const Blazor: IBlazor = {
};

// Make the following APIs available in global scope for invocation from JS
window['Blazor'] = Blazor;
window['Blazor'] = Blazor;