The Realm.Configuration for this Realm, passed as props. By default, this is the main configuration for the Realm.
Optional
context: anyconst AppRoot = () => {
const syncConfig = {
flexible: true,
user: currentUser
};
return (
<RealmProvider schema={[Task, User]} path={"data.realm"} sync={syncConfig}>
<App/>
</RealmProvider>
)
}
Optional
contextOptional
defaultOptional
displayOptional
propGenerated using TypeDoc
The Provider component that is required to wrap any component using the Realm hooks.