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

refactor(kpop): improve kpop performance on page scrolling #2476

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

2eha0
Copy link
Contributor

@2eha0 2eha0 commented Oct 23, 2024

Summary

autoUpdate starts in the KPop component’s mounted hook, continuously calculating the position even when the pop-up is not visible, significant lag when there are many Kpop on the page

Before:

before.mov

After:

after.mov

@2eha0 2eha0 requested review from adamdehaven, jillztom, Justineo and a team as code owners October 23, 2024 07:59
Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit 5919812
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/6718acc9542896000844c0fc
😎 Deploy Preview https://deploy-preview-2476--kongponents-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit 5919812
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/6718acc925598f00081b0a45
😎 Deploy Preview https://deploy-preview-2476--kongponents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@Justineo Justineo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⚡️

@Justineo Justineo merged commit 355f73d into main Oct 24, 2024
11 checks passed
@Justineo Justineo deleted the chore/kpop-long-tasks branch October 24, 2024 01:32
@kongponents-bot
Copy link
Collaborator

🎉 This PR is included in version 9.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kongponents-bot
Copy link
Collaborator

Preview package from this PR in consuming application

In consuming application project install preview version of kongponents generated by this PR:

@kong/kongponents@pr-2476

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

Successfully merging this pull request may close these issues.

3 participants