Feature slices (theme, panels, chat, …) — domain state owned by the
dashboard. Added under their own keys as each Zustand store ports across.
apiSlice — RTK Query reducer that owns server-cached data
(cluster state, traces, diagnostics, etc.). Endpoints are injected from
feature modules; the slice is the single source of truth for all
network-cached state.
setupListeners enables RTK Query's refetchOnFocus / refetchOnReconnect
options when individual queries opt in.
Root Redux store for the Skulk dashboard.
Two reducer namespaces:
apiSlice— RTK Query reducer that owns server-cached data (cluster state, traces, diagnostics, etc.). Endpoints are injected from feature modules; the slice is the single source of truth for all network-cached state.setupListenersenables RTK Query'srefetchOnFocus/refetchOnReconnectoptions when individual queries opt in.