Table internal state vs external state - TanStack