bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
Small perf improvement - caching the ConstructorInfo.
we could go even further and have an immutable copy of the initial RenderedConponent and clone it every time.