Blazor WASM lazy loading assemblies not working with @ref attribute.
- 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.