We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67aa9d5 commit e919cd8Copy full SHA for e919cd8
src/Mvc/Mvc.ViewFeatures/src/RazorComponents/RazorComponentResultHost.cs
@@ -61,6 +61,9 @@ private void BuildRenderTree(RenderTreeBuilder builder)
61
62
private void RenderPageWithParameters(RenderTreeBuilder builder)
63
{
64
+ // If we wanted to support rendering pre-instantiated component objects, it would probably go here
65
+ // as either a whole new RenderTreeFrame type or as some mechanism to attach the instance onto a
66
+ // regular Component frame (perhaps using a dummy ComponentState that represents 'not yet initialized')
67
builder.OpenComponent(0, RazorComponentResult.ComponentType);
68
69
if (RazorComponentResult.Parameters is not null)
0 commit comments