useState()useState() for the ID, setting useQueryuseQuery's enabledenabled to falsefalse, and refetch()refetch() whenever I need to get the item.refetch()refetch() always returns undefinedundefined, so the user has to click the button twice to get the item.onSuccessonSuccess which will be deprecated soon.Join the Discord to ask follow-up questions and connect with the community