Mutations
useUpdateUser
Update the current user's profile fields.
Usage
import { useUpdateUser } from "@better-auth-ui/solid"
const updateUser = useUpdateUser(authClient)
updateUser.mutate({ name: "Alice" })Cache
The shared mutation invalidator awaits session invalidation after a successful update so cached user data refreshes.
Params
Prop
Type
Last updated on