-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Replace RenderComponentAsync in templates with a new tag helper #13726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Example Tag Helper implementation: https://gist.github.com/DamianEdwards/51c961a1597ec133bd4d5eef30efd9ca |
Note that we currently don't have a non-generic overload of |
@rynowak What is the reason behind mixing blazor components and tag helpers? Can this be a blazor component instead? |
@Stamo-Gochev this is literally the seam between Razor "views" (which means any |
Looks like the |
Seems that spec is way old and effectively dead (like, from before 2000). Seems we can just continue on the original plan. |
@pranavkm Giving this to you as you took over. |
* Introduce ComponentTagHelper Fixes #13726
Fixed as part of d299ae2 |
This would look like:
We think this is much simpler and easier to explain. We want to avoid using async methods in Razor where they produce output, in very prominent cases, because there are lots of ways to get it wrong.
We won't delete
RenderComponentAsync
, the tag helper will call it, or will do the same thing.The text was updated successfully, but these errors were encountered: