Store Hooks
Zustand store access and state management hooks
Hooks for accessing Zustand stores and managing application state.
Package
@tetherto/mdk-react-adapter
Hooks
useActions
React-bound view of the headless actionsStore (command queue + lifecycle).
() => ActionsStoreuseAuth
React-bound view of the headless authStore. Equivalent of useStore(authStore) — exposed as a hook for ergonomic callsites.
() => AuthStoreuseDevices
React-bound view of the headless devicesStore (miners, containers, PDUs).
() => DevicesStoreuseNotifications
React-bound view of the headless notificationStore (toast queue + history).
() => NotificationStoreuseTimezone
React-bound view of the headless timezoneStore (selected IANA zone).
() => TimezoneStore