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: Passing an app as a prop to AppProvider #6785

Closed
sync-by-unito bot opened this issue Jul 11, 2024 · 1 comment · Fixed by #6788
Closed

@realm/react: Passing an app as a prop to AppProvider #6785

sync-by-unito bot opened this issue Jul 11, 2024 · 1 comment · Fixed by #6788
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Jul 11, 2024

Add the ability for the AppProvider to take in an app as a prop instead of configuration parameters, i.e.

const realmApp = new Realm.App(...);

<AppProvider
	...
	app={realmApp}
	...
>
</AppProvider> 

Similar to https://jira.mongodb.org/browse/RJS-2648, it is likely that during the manual realm scenario, a user would also like to manage and pass the app manually.

This would help completely handle cases such as using react-navigation

#6233

Copy link
Author

sync-by-unito bot commented Jul 11, 2024

➤ PM Bot commented:

Jira ticket: RJS-2861

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

Successfully merging a pull request may close this issue.

1 participant