How to sync client with server state? - TanStack