om prakash·Nov 20, 2025A Reusable useSpeechRecognition Hook for ReactLearn how to build a reusable React useSpeechRecognition hook that converts real-time voice to text using the Web Speech API. Simple…
om prakash·Nov 18, 2025Build a Reusable Undo/Redo State Manager in React (with Persistence Support)Undo/redo functionality is one of those features users expect everywhere — from text editors to whiteboards, from form builders to…
om prakash·Nov 17, 2025Build a Reusable useIntersectionObserver Hook in ReactLearn how to build a reusable useIntersectionObserver hook in React using the browser’s IntersectionObserver API. Detect when elements…
myHotTake·Jan 23, 2025What Are Custom Hooks in React and How Do They Simplify Your Code?I like to think of custom hooks in React as if I’m running a big garden with lots of plants. Each plant has specific needs: some need…