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

Ignore recreation of the element when props don't change #126

Merged
merged 1 commit into from Feb 2, 2023

Conversation

evgenykuzyakov
Copy link
Contributor

Makes the UI flicker less. It uses deepEqual call to compare previous VM input and the new VM input. If they match, then the element is not rendered again.

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: e71b31a
Status: ✅  Deploy successful!
Preview URL: https://58fab64a.viewer-xlt.pages.dev
Branch Preview URL: https://props-deep-equal-skip.viewer-xlt.pages.dev

View logs

@evgenykuzyakov evgenykuzyakov merged commit aa167c5 into master Feb 2, 2023
@evgenykuzyakov evgenykuzyakov deleted the props-deep-equal-skip branch February 2, 2023 18:15
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.

None yet

1 participant