Client side routing via react-query - TanStack