W5: getMe synced photoUrl on every read whenever the token URL string differed, but providers (Google) rotate query params (=sN-c sizing) for the same image, causing write churn on a read path. Compare only the URL before '?' so the write fires only on a genuine photo change. R6: createMe/updateMe re-read the user with getUser right after writing. Synthesize the response instead — updateMe from the already-read doc plus the applied patch; createMe from the written inputs (createdAt approximated as now, since the stored value uses serverTimestamp and later reads reflect it). Removes one Firestore read per onboarding/profile edit.
Description
No description provided
Languages
TypeScript
85.5%
HTML
14.5%