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

Prevent unnecessary rerenders of the legend #1789

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

dnlkoch
Copy link
Member

@dnlkoch dnlkoch commented Dec 23, 2024

This prevents the Legend from unneeded rerenders (and annoying loading indicators in it) by caching the props extraParams and headers.

Before:

Peek 2024-12-23 13-33

After:

Peek 2024-12-23 13-31

Please review @terrestris/devs.

Copy link

null

@dnlkoch dnlkoch changed the title fix: prevent unnecessary rerenders of the Legend Prevent unnecessary rerenders of the legend Jan 9, 2025
@dnlkoch
Copy link
Member Author

dnlkoch commented Jan 9, 2025

Thanks for the review!

@dnlkoch dnlkoch merged commit 9820850 into next Jan 9, 2025
1 check passed
@dnlkoch dnlkoch deleted the fix-unnecessary-legend-rerender branch January 9, 2025 09:03
Copy link

github-actions bot commented Jan 9, 2025

🎉 This PR is included in version 9.0.0-next.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants