realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.69k stars 563 forks source link

@realm/react support for Realm Web #4748

Open mongodben opened 2 years ago

mongodben commented 2 years ago

Problem

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

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:

also provide better support for Atlas GraphQL API.

How important is this improvement for you?

Would be a major improvement

Acetyld commented 1 year ago

This would be a major improvement!