Firebase Hooksv0.2.0

useUpdateProfile

Display name and photo URL.

const { update, loading } = useUpdateProfile();

await update({ displayName: fullName, photoURL: avatarUrl });

Returns

update({ displayName?, photoURL? }) resolves to { success: true } or a failure result. Both fields accept null to clear them. Also exposes loading, error, and success.

Notes

No reauthentication needed — Firebase treats profile fields as non-sensitive.

On this page