-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
affected-fewThis issue impacts only small number of customersThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-builtin-componentsFeatures related to the built in components we ship or could ship in the futureFeatures related to the built in components we ship or could ship in the futurefeature-blazor-lazy-loadingIssues related to adding support for lazy-loading in BlazorIssues related to adding support for lazy-loading in Blazorfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyseverity-majorThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
Describe the bug
- When using Blazor WebAssembly lazy loading assemblies with component's
@refattribute, the corresponding assembly could not load issue throws in the browser console and the application not running.
To Reproduce
https://github.com/ajithr/blazor-wasm-lazy-ref
- Check out the above repo and open
~/LazyLoadingRef/LazyLoadingRef.csprojfile in theVS 2019. - Run the application it will throw exceptions in the browser console.
- Open
~/LazyLoadingRef/Pages/Counter.razorfile and remove@refattribute andLazyLoadComponentreference in the@codesection. - Run the sample again and it will work properly with the lazy loading feature.

Exceptions (if any)
Further technical details
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affected-fewThis issue impacts only small number of customersThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-builtin-componentsFeatures related to the built in components we ship or could ship in the futureFeatures related to the built in components we ship or could ship in the futurefeature-blazor-lazy-loadingIssues related to adding support for lazy-loading in BlazorIssues related to adding support for lazy-loading in Blazorfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyseverity-majorThis label is used by an internal toolThis label is used by an internal tool


