DEV Community

Discussion on: How to shut the warning up when using the combination of Blazor code-behind, property injection, and C# nullable reference types

Collapse
 
ryanbuening profile image
Ryan Buening

What about public IJSRuntime JS { get; set; } = default!; Would that be any better than public IJSRuntime JS { get; set; } = null!; ?