-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Blazor API Review: RenderTreeBuilder #12415
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
The naming here follows a general pattern - we should make sure we think this is right:
This seems like a reasonable naming structure. Outliers:
Some suggestions for improvement:
The justification for the last one is that the compiler does something more sophisticated now. Removing this API doesn't block anyone from using delegates, they will go through |
All the suggestions sound good to me. |
One other topic - is |
Namespace |
Following up on the namespace part separately. |
Summary
RenderTreeBuilder
is a low level API used by the compiler for.razor
components, and used in expert scenarios for C# components.It's critical that we get the design of the
RenderTreeBuilder
and its methods right, because there's no conceivable way we could change anything here. It's always possible for us to add however, and we don't generally need to optimize for simplicity or clear names.APIs
The text was updated successfully, but these errors were encountered: