Weekly Planner
Codebase

Hooks

Feature hooks and what each one owns.

Hooks

HookOwns
useWorkspaceAccessible boards, active board, roles, bootstrap. Full-page boot only when the board list is empty; detail/prefs hydrate under a kept-alive shell (surfacePending).
useBoardLifecycleOwner board CRUD + import/export
usePlannerRuntimeShared composition for Planner + SharedPlanner
useEventMutationsEvent CRUD API
useEditorSessionDraft editor state machine
useSharedBoardShare token load + unlock
useShareActionsShare/member mutations + invite
useBoardPresenceInstant room presence
useViewControlsFilters, labels, visible events
useTodayTodosDerived checklist
useThemeTheme sync
usePrintSetupPrint dialog + prefs
usePlannerClockNow line tick
useMagicCodeAuthEmail OTP flow
useMobileSheetmax-width: 560px media

usePlannerRuntime wires clock + mutations + editor + view + presence + print so both shells stay aligned.

On this page