Most of us(ReactJS developers) are aware of built-in hooks like useState, useEffect, useRef, useMemo, useCallback, etc. Some of us know the concept of custom hooks but have never used them. Image source: https://daveceddia.com/ So here, I will be explaining the use case and the advantages of using a custom hook. …