I have a project using React in Strict Mode alongside GraphQL.
I updated some packages, and I now get the following error in useEffect containing async calls.
useEffect(() => {
const loadTags = async () => {
const { data } = await fetchTags();
setTags([...(data?.tags || [])]);
};
loadTags();
}, [current, fetchTags]);
DOMException: signal is aborted without reason in useEffect with async call.
I am not quite sure what is causing this, I believe the use effect rerun and clear itself up, and it doesn't abort the query properly.
This didn't happen previously, or at least didn't produce an error.
I am wondering if my implementation if incorrect, or if some package I updated go an issue, I couldn't find any relevant thread on github on the package I updated