MDK Logo
ReferenceUIHooks

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).

() => ActionsStore

useAuth

React-bound view of the headless authStore. Equivalent of useStore(authStore) — exposed as a hook for ergonomic callsites.

() => AuthStore

useDevices

React-bound view of the headless devicesStore (miners, containers, PDUs).

() => DevicesStore

useNotifications

React-bound view of the headless notificationStore (toast queue + history).

() => NotificationStore

useTimezone

React-bound view of the headless timezoneStore (selected IANA zone).

() => TimezoneStore

On this page