realm-js icon indicating copy to clipboard operation
realm-js copied to clipboard

@realm/react support for Realm Web

Open mongodben opened this issue 2 years ago • 1 comments

Problem

The @realm/react package doesn't support the Web SDK. Add support for the following provider/hooks:

  • useApp and the AppProvider
  • useUser and the UserProvider

It would also be useful to add better support for the Atlas GraphQL API. Currently, the user has to add a fair bit of boilerplate around authenticating requests (and the currently documented behavior is re-fetch custom user data on every request).

As the Realm Web SDK doesn't currently support Realm Database, the other existing hooks/providers probably wouldn't make sense for inclusion now.

Solution

support the following providers/hooks:

  • useApp and the AppProvider
  • useUser and the UserProvider

also provide better support for Atlas GraphQL API.

How important is this improvement for you?

Would be a major improvement

mongodben avatar Aug 01 '22 14:08 mongodben

This would be a major improvement!

Acetyld avatar Sep 30 '22 10:09 Acetyld