ShouldRender(bool firstRender) #29531
Unanswered
StevenTCramer
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to be able to use a FeatureFlag generically to determine if a component is rendered in the UI.
By implementing ShouldRender in the base class I could do this but it isn't called the first time.
If we changed StateHasChanged to pass the HasNeverRendered we could do it.
But this is a breaking change. As all ShouldRender overrides will be missing param.
Beta Was this translation helpful? Give feedback.
All reactions