reduceRight in Javascript and its implementationWhat is reduceRight? reduceRight is a method present on the Array prototype. It works with arrays and traverses the array elements from right to left and returns reduced value. Syntax: reduceRight((acc,curr,index,arr)=>{ //some code },initialValue); ...2 min read路amandevblog.hashnode.devApr 20, 2025
Cancel fetch request in Javascript.Learn how to cancel fetch requests in JavaScript using the AbortController API for optimized operations in various scenarios3 min read路amandevblog.hashnode.devApr 12, 2025
usePrevious custom hook in React 馃殌Custom hooks are really important in React app development. It helps to encapsulate common logic in a function, which can be used in different parts of the application.Let's talk about one unique hook: usePreviousThis hook returns the old/previous va...2 min read路amandevblog.hashnode.devJul 13, 2024
Turbocharge Your React App: useMemo Hook for Lightning-Fast Performance 馃殌Discover how to supercharge your React applications with the useMemo hook. Learn memoization and see how to optimize your code for better performance4 min read路amandevblog.hashnode.devAug 18, 2023
Objects in JavascriptLet's understand what is object and its importance for us.2 min read路amandevblog.hashnode.devJan 3, 2023