Skip to content

Realm React v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Jul 11:12
· 57 commits to main since this release
2238a9c

Enhancements

  • Added the ability to pass an existing Realm.App instance in AppProvider with the app prop. (#6785)
import { AppProvider } from "@realm/react";

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

function MyApp() {
  return (
    <AppProvider app={app}> 
      ...
    </AppProvider>
  );
}

Fixed

  • Fixed listener that was not being removed during unmounting of useObject and useQuery if the listener was added in a write transaction. (#6552) Thanks @bimusiek!
  • The app prop in AppProvider meant for LocalAppConfiguration was not being used by Atlas Device Sync and has been removed. app is now only used to pass an existing Realm.App to the provider. (#6785)

Compatibility

  • React Native >= v0.71.4
  • See "Compatibility" for a specific Realm version in Realm's CHANGELOG.