-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Realm React
-
1 - XS (<= 1 day)
-
5460
Problem
Currently, the way to enable session multiplexing is:
Realm.App.Sync.enableSessionMultiplexing(app);
In order to do this in @realm/react one would have to create a wrapper component around any RealmProviders which would access the app using useApp and call this method after rendering the AppProvider.
Solution
It should be possible to add properties to the AppProvider to handle this automatically. This would reduce boilerplate.
Alternatives
No response
How important is this improvement for you?
Would be a major improvement
Feature would mainly be used with
Atlas Device Sync