Conversation
- Extract syncRuntimeForm + computeSchemaSignature to lib/core/sync.ts
- Replace key={schemaKey} remount with BuilderFormStateSync component
- Memoize schema derivation pipeline (nodesToFields, createSchema, extractDefaults)
- Move collapsed state from local useState to Zustand store (collapsedNodes) - Update Collapsible, Group, and Array layouts to read/write store state - Ensure collapsed state survives re-renders and schema updates - Exclude UI-only collapsed state from undo/redo history and persistence
- Wrap EditableNode in React.memo to prevent full-tree re-renders - Change selectedId selector to boolean (s.selectedId === id) for precise updates - Fix DragOverlayItem subscribing to entire store with no selector
- inline layout resolver into checkbox-group.tsx and radio.tsx so each renderer owns its flex/grid decisions without an extra shared file - adjust builder metadata and docs to keep columns tied to horizontal/card layouts - keep responsive behavior consistent while removing the unused shared helper files
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key Changes
1. Builder Performance and Stability
EditableNodecomponent and implemented granular store selectors to significantly reduce unnecessary re-renders in the canvas.2. Registry and Layout Refactoring
option-grouplayout logic to be inlined, simplifying the component architecture and improving maintainability within the registry.Issues:
Closes #42
Closes #44
Closes #45