Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2633

For @realm/react export createUseQuery & createUseObject

      Problem

      We want to slowly migrate our codebase to @realm/react. Currently, we have deeply integration of Realm into our React app using our own code.

      We would love to gradually migrate, thus we need ability to pass our own useRealm, but both createUseQuery, createUseObject are not exported.

      Solution

      Simply export both createUseQuery, createUseObject

      Alternatives

      Currently we do pnpm patching to export both those functions.

      How important is this improvement for you?

      I would like to have it but have a workaround

      Feature would mainly be used with

      Atlas Device Sync

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: