[blazor] Remove reference to BINDING api in global namespace #47878
Labels
area-blazor
Includes: Blazor, Razor Components
feature-blazor-wasm
This issue is related to and / or impacts Blazor WebAssembly
task
Milestone
The blazor hotreload feature expects BINDING api to be exported to global namespace in the https://github.com/dotnet/sdk/blob/main/src/BuiltInTools/BrowserRefresh/BlazorHotReload.js.
The #46693 rewrote the invoke as a JSImport and with that we can call directly the async function
receiveHotReloadAsync
.With the resolution of this issue we can remove
disableDotnet6Compatibility: false
from https://github.com/maraf/aspnetcore/blob/99a1d2c0cb39cbddb0e771d76c15fa96cae46261/src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts#L347The text was updated successfully, but these errors were encountered: