Best practices for state management and fetching data - TanStack