2
Consider adding an option to refetch updated data for `useUser()`
Source: supabase/supabase#15349 · opened by @imageck
auth-helpers-react has this useUser() hook that consumes the session context and returns user data. However, when the user metadata is updated from a Postgres trigger, the data on the client's side is obviously outdated. Please consider adding an option to useUser() that would allow us to fetch up-to-date data from the database on a per-component basis.
No pledges yet. Be the first to back this.
Comments
Similar requests
Expand useUser to have isLoading state like useSessionContext
2 votes · 0 comments
supabase/ssr add useJWT, useSession, useUser hooks for react
2 votes · 0 comments
Add Custom Claims from Auth Hook to useSession() and useUser()
1 vote · 0 comments
useUser in auth-helper need to update `is_anonymous` key doesn't exist.
1 vote · 0 comments
Feture Request: Want to get some part of data encrypted via RSA Private keys to avoid client side data manipulation
1 vote · 0 comments
No comments yet.