[Blazor] Analyzer should check that Element reference instances are only ever read within OnAfterRenderAsync
Open
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
Assessment
This issue has not been assessed yet.