realm-js
realm-js copied to clipboard
{App, User}.addListener callback to take an argument
Currently the {App, User}.addListener()
callback has zero argument. We should take the API slightly to:
- {{Realm.App.addListener((app) => { /* ... */ }}}
- {{Realm.User.addListener((user) => { /* ... */ }}}