How to level up your React API interactions with react-query's useQuery and useMutation
Writing async API calls from the front end has been one of the places I have observed consistent requirements for added state and complexity, often resulting in repetition, and sometimes pain.
A proper UX requires you to set up loading states, try / ...
mikleens.hashnode.dev5 min read