Skip to content

fix(joint-react): paper handling and enhance joint-react features#3382

Open
samuelgja wants to merge 3 commits into
clientIO:devfrom
samuelgja:fix/paper-fixing-joint-react
Open

fix(joint-react): paper handling and enhance joint-react features#3382
samuelgja wants to merge 3 commits into
clientIO:devfrom
samuelgja:fix/paper-fixing-joint-react

Conversation

@samuelgja

Copy link
Copy Markdown
Contributor

Update joint-react to improve paper lifecycle management, enhance event handling, and streamline API usage. Introduce new features such as reactive paper options, improved data management, and various example enhancements. This change addresses several issues related to performance and usability in the joint-react library.

- Added support for nullish cell IDs in `useCells` and related hooks, allowing selectors to handle undefined gracefully.
- Implemented synchronous notifications for feature registration and unregistration in `GraphStore`, ensuring immediate updates for `useSyncExternalStore` consumers.
- Introduced warnings for missing cell setters to prevent silent failures when attempting to update non-existent cells.
- Updated tests to cover new behaviors, including synchronous notifications and handling of nullish IDs.
- Refactored `setCell`, `setCellData`, and related functions to accept nullish IDs, improving robustness and user experience.
@samuelgja samuelgja force-pushed the fix/paper-fixing-joint-react branch from 06dbfba to aa823e3 Compare June 19, 2026 16:33
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