How do you check your renders? Here's my method Create a base class that inherits ComponentBase, override ShouldRender and OnAfterRender to start and stop the Stopwatch, and keep track of how many renders there have been. public class PerfTestBase : ...
Blazor Does Not Support Constructor Injection Or does it? Code - gimme code The v5.0.0-preview.8.20414.8 release included a nice refactor commit from Mladen Macanović that introduced the IComponentActivator interface (along with a default implement...
Preface I saw some chat recently on the Blazor Gitter Channel asking about binding to events on the html5 video tag. It seems this person was not alone - others had similar problems - the events you subscribe to in Blazor are just not firing. I de...
Work In Progress - Video component for Blazor I am currently working on a Blazor Video component. Media Events do not bubble in general, and Blazor doesn't capture them. This control will enable you to use events such as onplay, onpause, ontimeupdate...