-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Realm React
-
Labels:
-
2 - S (<= 1 week)
-
4776
Problem
When using useUser without using the UserProvider component, no error message is sent and the result of useUser is always know.
Solution
I propose two possible solutions:
- Find a way to throw an error message if useUser is invoked without the UserProvider
- Merge the UserProvider component into the AppProvider to simplify the setup even further
How important is this improvement for you?
Would be a major improvement