dotnet / dotnet/aspnetcore

[Blazor] Analyzer should check that Element reference instances are only ever read within OnAfterRenderAsync

Open
#63,247 1 comment 2 reactions 1 assignee Assigned to @Copilot View on GitHub
analyzer area-blazor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

You shouldn't be using `ElementReference` fields or properties elsewhere in the lifecycle of a component. Doing so might result in errors caused by accessing stale references or non existent ones.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.