PinnedSupercharge Your React Projects with Custom HooksIn this article, we dive into the world of custom React hooks and explore the incredible potential they hold for supercharging your work…Jul 8, 2023Jul 8, 2023
Tackling Memory Leaks in Node.jsMemory leaks in Node.js can be silent killers for your applications. They degrade performance, increase costs, and eventually lead to…Feb 9Feb 9
LeetCode, Hard++ (Acceptance 24%, Latest): 2867. Count Valid Paths in a Tree. DFS. O(n). Swift.IntuitionSep 24, 2023Sep 24, 2023
React Custom Hook: useTimeoutIt ensures the callback function remains up to date even if it changes during component re-renders.Aug 30, 2023Aug 30, 2023
React Custom Hook: useStorageYou can use it to store any type of data, such as strings, numbers, or even complex objects, with just a few lines of code.Aug 29, 20231Aug 29, 20231
React Custom Hook: useStateWithValidationYou can pass any validation function that suits your specific requirements.Aug 28, 2023Aug 28, 2023
React Custom Hook: useStateWithHistoryOur focus today is on the “useStateWithHistory” hook, one of the many carefully crafted hooks available in the collection.Aug 27, 20231Aug 27, 20231
React Custom Hook: useScriptEnabling you to harness its powerful functionalities without adding bulk to your bundle.Aug 26, 2023Aug 26, 2023
React Custom Hook: useRenderCountuseRenderCount helps you pinpoint the problem by showing the exact number of renders.Aug 26, 2023Aug 26, 2023
React Custom Hook: usePreviousBy usePrevious, we can effortlessly display the current count alongside its previous value, enabling users to visualize the count’s changes.Aug 25, 2023Aug 25, 2023