Skip to content

feat(joint-react): paper provider #2971

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

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

samuelgja
Copy link
Contributor

@samuelgja samuelgja commented May 21, 2025

joint-react: paper provider plus refactor paper ctx

https://github.com/orgs/clientIO/projects/6/views/13?pane=issue&itemId=112378942

Description

Add paper provider and refactor paper context usage, so now we can use

<PaperProvider>
 <Paper {...paperOptions} /> 
</PaperProvider>

Under the hood, Paper creates a paperProvider if one doesn't already exist. If a provider is already present in the tree, it will reuse it.

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.

2 participants