setActivesetActive.setActivesetActive, I need to immediately call a Convex mutation (initializeUserinitializeUser) to create a user record in my usersusers table. This record stores essential data and their current onboarding step (e.g., profileState: "pending_step4"profileState: "pending_step4"). This is crucial so if the user drops off, they can resume later from where they left off. I avoid creating this DB record before step 3 because the user isn't verified yet, and there's no point saving incomplete/unauthenticated data if they might just leave.Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join