Skip to content

fix(framework): avoid unnecessary renderings #11782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

nnaydenow
Copy link
Contributor

@nnaydenow nnaydenow commented Jun 23, 2025

Move the logic that checks whether the component should be rendered (in case it gets detached from the DOM) to after all child components are processed.

This prevents unnecessary rendering when the component is detached from the DOM during child promise resolution.

@nnaydenow nnaydenow changed the title fix(framework): correct focus on elements fix(framework): prevent focus on disconnected elements and avoid unnecessary renderings Jun 24, 2025
@nnaydenow nnaydenow requested review from pskelin and ilhan007 June 24, 2025 14:39
@nnaydenow nnaydenow changed the title fix(framework): prevent focus on disconnected elements and avoid unnecessary renderings fix(framework): avoid unnecessary renderings Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant