zhioua mohamedmohamedzhioua.hashnode.dev·Sep 27, 2023Optimizing UseEffect Hook for API Calls: Reduce Server Load and Rerenders with AbortControllerTable of Contents Introduction Problem with Example Code Solution with Example Code Benefits Conclusion Introduction The useEffect hook is one of the most powerful hooks in React. It allows us to perform side effects in functional components, ...Discuss·1 like·52 readsReactJSJavaScript
Mohd Faiz Ansarimdfaiz.hashnode.dev·Jul 26, 2022Custom useFetch Hook in ReactIn this blog, I'm going to cover up all the advantages and problems occurred while creating this custom hook. You can use this hook into your app directly. We are going to use useEffect() useState()and useRef() hooks of react. The first step is simpl...Discuss·33 readsuseEffect