Skip to content

Improvement to Lifecycle Events by having an overridable method called BeforeRender #29798

Description

There are cases where there can be code that a person wants ran before the rendering just like there is AfterRender.

The purpose would be if a person wants to use code behind and run some methods to prepare for rendering. I have found many cases where StateHasChanged was called but did not invoke propertyset but the code should run in the code behind instead of razor file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    affected-fewThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-component-modelAny feature that affects the component model for Blazor (Parameters, Rendering, Lifecycle, etc)feature-renderingFeatures dealing with how blazor renders componentsseverity-minorThis label is used by an internal tool

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions