How to derive values to preserve form state integrity - TanStack