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

[EuiToolTip] Memoized tool_tip_arrow component #1

Conversation

rebeca1012
Copy link
Collaborator

This pull request introduces memoization for the EuiToolTipArrow component to improve performance and reduce unnecessary renders.

Changes Made:

Use of useEuiMemoizedStyles:

Replaced useEuiTheme with useEuiMemoizedStyles to memoize the component's styles.

This ensures that styles are only recalculated when necessary, optimizing performance.

Copy link

github-actions bot commented Dec 9, 2024

👋 Since this is a community submitted pull request, a Buildkite build has not been started automatically. Would an Elastic organization member please verify the contents of this pull request and kick off a build manually?

@amarantaVC amarantaVC merged commit 2842e3a into issue-7561/emotion-memoize-all-generated-styles-EuiToolTip+EuiconTip Dec 9, 2024
1 check passed
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