Prefer SWR or TanStack Query for server data. If `useEffect` owns the request, create an `AbortController`, pass its signal, and return cleanup that aborts it. Keep the dependency array accurate and do not use an effect to derive render state.
Installs into .claude/skills of the current project.
Are you the author of React Hooks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-react-hooks-84811511)
Prefer SWR or TanStack Query for server data. If `useEffect` owns the request, create an `AbortController`, pass its signal, and return cleanup that aborts it. Keep the dependency array accurate and do not use an effect to derive render state.