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 11 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
  • tests rewritten
  • rebased
  • add onAction
  • 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 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 28, 2025 8:31am
puck-docs ✅ Ready (Inspect) Visit Preview Feb 28, 2025 8:31am

@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
@chrisvxd chrisvxd force-pushed the 644-improve-rendering-performance branch from bb6ec11 to bd2c3ab Compare February 24, 2025 19:21
@chrisvxd chrisvxd force-pushed the 644-improve-rendering-performance branch from 74970c4 to 2170dd6 Compare February 26, 2025 08:52
@chrisvxd chrisvxd force-pushed the 644-improve-rendering-performance branch from 2170dd6 to 3fed16e Compare February 26, 2025 09:11
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