[Blazor] Support for direct using generic parameters as components at Razor pages #10972
Open
1 task done
Labels
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
It would boost productivity if we could use generic parameters as components directly in razor pages.
Consider such container and its razor page --
MyContainer<TComponent>
This gives error and indeed it should give error:
But if we add the constraints:
now we know that it is truly a component, and now it would be great if Razor could recognize it as in the snippet above.
Describe the solution you'd like
See above.
Additional context
No response
The text was updated successfully, but these errors were encountered: