-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Realm React
-
None
-
2 - S (<= 1 week)
-
6186
Currently, the User reference returned by useUser() will be updated only when the ID is updated.
To more easily react to changes when e.g. the access token is refreshed or the user profile is updated, we could instead update the user on each invocation of the user listener.
This would make useUser() behavior similarly to useQuery() in terms of rerendering.