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

[@realm/react] Export a createAppContext #6479

Open
kraenhansen opened this issue Feb 12, 2024 · 0 comments
Open

[@realm/react] Export a createAppContext #6479

kraenhansen opened this issue Feb 12, 2024 · 0 comments

Comments

@kraenhansen
Copy link
Member

Problem

Some users want to access data from multiple Atlas clusters in a single app, meaning they'd want to access multiple App contexts from a single React component tree.

Solution

Similarly to the createRealmContext function we're exporting, we could export a createAppContext to help support this pattern of usage.

Alternatives

No response

How important is this improvement for you?

Would be a major improvement

Feature would mainly be used with

Atlas Device Sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant