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

Expose @realm/react for react web.

      Problem

      Having "realm": "^11.0.0" as the dependencies causes @realm/react to break when I try to use it for my react app.

      Solution

      Digging deep into the package, there is no need to have realm as a dependencies, since the only function it does is to give types to the @realm/react package.

      The types can be exported as a separate package or make realm to be usable in the browser. That way other devs can have the advantage of not having to create providers and contexts and save development time.

      How important is this improvement for you?

      Would be a major improvement

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

              Created:
              Updated: