Best practice for layout - TanStack