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

Fix Unnecessary Renders of Blocks in Edit Mode #6639

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iFlameing
Copy link
Member

@iFlameing iFlameing commented Feb 2, 2025

This may be a good idea or bad I don't know but still, I am trying to figure it out.

This is just my playground for improving the overall performance of volto in Edit mode. we are re-rendering lot's of time which we shouldn't. As the react take very small time in re-rendering and overall app feels fast but as the page grows it might lead to performance.

  1. First finding hovered props is re-rendering the whole block whenever you hover on one. just removed the hovered props from the blocks and you are good.

  2. We need to discuss how we use properties, navroot and nav root. Continue to investigate further.

Copy link

netlify bot commented Feb 2, 2025

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 6011804
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/679fa5248af62400087b2f3a

@iFlameing iFlameing changed the title initial commit Avoiding Unnecessary Renders of Blocks in Edit Mode Feb 2, 2025
@iFlameing iFlameing marked this pull request as draft February 2, 2025 17:03
@iFlameing iFlameing changed the title Avoiding Unnecessary Renders of Blocks in Edit Mode Fix Unnecessary Renders of Blocks in Edit Mode Feb 2, 2025
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