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

Improve rendering performance #897

Draft
wants to merge 50 commits into
base: main
Choose a base branch
from

Conversation

chrisvxd
Copy link
Member

@chrisvxd chrisvxd commented Feb 14, 2025

Refactor state using Zustand to prevent all unnecessary re-renders.

Closes #644

Tasks

  • Eliminate component rendering during field updates
  • Only render field that changed
  • Drag-and-drop still functional
  • resolveData reimplemented
  • resolveFields reimplemented
  • permissions API restored
  • Add selector to usePuck

Copy link

vercel bot commented Feb 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
puck-demo ❌ Failed (Inspect) Feb 25, 2025 0:21am
puck-docs ❌ Failed (Inspect) Feb 25, 2025 0:21am

@chrisvxd chrisvxd mentioned this pull request Feb 21, 2025
@chrisvxd chrisvxd force-pushed the 644-improve-rendering-performance branch from f261725 to 506fdf3 Compare February 21, 2025 22:38
@chrisvxd chrisvxd force-pushed the 644-improve-rendering-performance branch from 1ffc23e to bb6ec11 Compare February 24, 2025 19:09
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.

Improve rendering performance
1 participant