Every time I need to run the application manually, live reloading is not working. Why?
For now, you must manually run the application to reflect the changes in the browser. There is an issue tracker for the live reloading feature.
Issue—Blazor – System.InvalidOperationException: Object of type
‘BlazorDataBinding.Pages.Counter’ has a property matching the name ‘IncrementValue’, but it does not have [ParameterAttribute] or [CascadingParameterAttribute] applied. You must mention the [Parameter] attribute for the component attributes.
Issue—Blazor – InvalidOperationException: Cannot identify unique bin directory for Blazor app.
Open the application in File Explorer and delete the bin/Debug & bin/Release folders. Now, clean and run the application.
Issue—Blazor ValueChanged event did not fire with built-in input elements
Yes, this is a known issue in Blazor. You can track the issue link in the ValueChanged event not fired thread. The following code snippet will work. You have to update the model manually because handling the ValueChanged event does not let you use the @bind-Value we need to use ValueExpression instead of @bind-Value. Instead, you can also use the OnValidSubmit form event to get and process the value.
What if the component ref/instance is not working? Or the component ref is undefined?
The component instance filed is populated along with the component after rendering completion. You must access the component instance in the OnAfterRenderAsync or OnAfterRender methods of the Blazor lifecycle.