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

Added: Throttle calls from mutationObserver #1297

Merged
merged 5 commits into from
Jul 18, 2024
Merged

Conversation

davidjbradshaw
Copy link
Owner

@davidjbradshaw davidjbradshaw commented Jul 17, 2024

Refactor mutationObserver code to throttle to once per animation frame.

  • Fixes loop bug in quirks mode
  • Improves perf

@davidjbradshaw davidjbradshaw changed the title Fix: mutationObserver performance Fix: mutationObserver performance in quirks mode Jul 18, 2024
@davidjbradshaw davidjbradshaw merged commit d8ee37c into master Jul 18, 2024
4 checks passed
@davidjbradshaw davidjbradshaw deleted the mutatePerf branch July 18, 2024 09:47
@davidjbradshaw davidjbradshaw changed the title Fix: mutationObserver performance in quirks mode Fix Throttle calls from mutationObserver Aug 1, 2024
@davidjbradshaw davidjbradshaw changed the title Fix Throttle calls from mutationObserver Added: Throttle calls from mutationObserver Aug 1, 2024
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