Cross-platform stateful onboarding sync
Source: interviewintermediate
WHAT IT TESTS: server-authoritative state with multi-client sync. OUTLINE: store onboarding state server-side keyed to the user, expose idempotent step-completion APIs, and push updates to other clients.
WHAT IT TESTS: whether you make the server the source of truth and keep multiple clients consistent. ANSWER OUTLINE: model onboarding as server-side per-user state, a set of step ids with completion status; clients fetch it on load and post idempotent step-completion events; propagate changes to other connected clients via push, websocket, or refresh-on-focus; handle conflicts so completing a step is monotonic.
Read the original → interview
- #onboarding
- #state-sync
- #api-design
- #cross-platform
- #idempotency
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.