useState() for the ID, setting useQuery's enabled to false, and refetch() whenever I need to get the item.refetch() always returns undefined, so the user has to click the button twice to get the item.onSuccess which will be deprecated soon.