Skip to content
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

fix: speedup resolution for auto-guards #281

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

theKashey
Copy link
Owner

Originally reported by @alexzherdev - tests detected extra time spent at expandFocusableNodes

In fact, this code is only required for auto-guards (<InFocusGuard/>), so let's run it conditionally.

There is a supporting change at the focus-lock size - theKashey/focus-lock@543b9fe - speeding up nodes resolution

@theKashey theKashey merged commit b91ced7 into master Feb 14, 2024
3 of 4 checks passed
nickspaargaren pushed a commit to nickspaargaren/react-focus-lock that referenced this pull request Dec 11, 2024
fix: speedup resolution for auto-guards
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