Xuanyu Wangluban.hashnode.dev·Feb 18, 2024Test in Go: risk of using CleanupMy team is using testify as the testing framework for Go. We noticed that many methods provided by testify/suite can be easily achieved by the built-in testing package. For example, using Cleanup can do the same of AfterTest provided by testify/suite...54 readsGo Language
Sanchit Bajajsolitrix02.hashnode.dev·Mar 22, 2023Need of useEffect Cleanup FunctionHello fellow developers, in this blog you will learn about the cleanup function of useEffect() which I feel that many new react developers ignore. Many new developers think that it is too complex to understand and skip over that part but it is one of...20 likes·48 readsuseEffect
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...38 readsuseEffect