Skip to content

[Feature] RenderFragment files #12538

@bzd3y

Description

@bzd3y

I'm not sure how to mark this as a feature request and there doesn't seem to be a Discussion section on this repository.

I'd like to propose a feature to support Component RenderFragments in separate files. For example, a component named Component with a RenderFragment member (I think this member could actually be implied rather than needing to be explicitly defined) named SomeRenderFragment might have 3 files:

Component.razor
    - Component.razor.cs
    - Component.SomeRenderFragment.razor

It seems like something like this could help with composition and inheritance of components, as well as just making it easier to define render fragments. It would also add some precision to source control history.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions