State and Inertia.js integration - TanStack