What is the value added of set state functions - TanStack