Skip to content

Only update resources UI from logs changed event if error counts change#2697

Merged
JamesNK merged 1 commit intomainfrom
jamesnk/resources-errorlogs-optimization
Mar 7, 2024
Merged

Only update resources UI from logs changed event if error counts change#2697
JamesNK merged 1 commit intomainfrom
jamesnk/resources-errorlogs-optimization

Conversation

@JamesNK
Copy link
Copy Markdown
Member

@JamesNK JamesNK commented Mar 7, 2024

Previously every log change would cause the resources page to rerender. This was unneeded because nothing had changed.

Optimize resources page to only rerender from log change events if the data has changed. Avoid unnecessary rerenders.

Microsoft Reviewers: Open in CodeFlow

@JamesNK JamesNK enabled auto-merge (squash) March 7, 2024 06:38
@JamesNK JamesNK merged commit 07a5044 into main Mar 7, 2024
@JamesNK JamesNK deleted the jamesnk/resources-errorlogs-optimization branch March 7, 2024 07:07
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants