WoW Lab

WoW Lab

Toolkit

Simulate

Quick SimBest in BagsDrop Optimizer

Rotations

BrowseNew Rotation

Plan

Traits
P

Developer

DocsBibleEngineHooksMCP ServerMetricsUI Showcase

Misc

AboutBlog

© 2025 WoW Lab

  1. Home
  2. Bible
  3. State Management

State Management

React Query for server state, Zustand for local state, Refine.dev data layer

February 13, 2026
Edit

React Query 5.x (TanStack) with 5-minute staleTime and 24-hour gcTime, persistence via react-query-persist-client, Zustand stores with Immer middleware (editor, traits with 50-item undo/redo, sim character input, drops, bags, live connection, metrics, nodes, UI), Refine.dev integration (authProvider for OAuth, dataProvider wrapping Supabase, liveProvider via Centrifuge), resource-based hooks (useResource, useResourceList, useResourceMany), virtual list hooks for large datasets, Supabase resources (game.spells, game.items, public.rotations, public.jobs, public.nodes), Centrifuge realtime subscriptions for live updates.

Next steps

Rotation Editor
Architecture
Rotation Editor

Navigation

IntroductionGlossaryReferences

Overview

Mechanics

Game Data

Simulation

Infrastructure

Portal

ArchitectureState ManagementRotation EditorSimulation UIContent System