PinnedSergey Leschev·Jul 8, 2023Supercharge 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…
Sergey Leschev·Feb 9, 2025Tackling 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…
Sergey Leschev·Sep 24, 2023LeetCode, Hard++ (Acceptance 24%, Latest): 2867. Count Valid Paths in a Tree. DFS. O(n). Swift.Intuition
Sergey Leschev·Aug 30, 2023React Custom Hook: useTimeoutIt ensures the callback function remains up to date even if it changes during component re-renders.
Sergey Leschev·Aug 29, 2023React 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.A response icon1A response icon1
Sergey Leschev·Aug 28, 2023React Custom Hook: useStateWithValidationYou can pass any validation function that suits your specific requirements.
Sergey Leschev·Aug 27, 2023React Custom Hook: useStateWithHistoryOur focus today is on the “useStateWithHistory” hook, one of the many carefully crafted hooks available in the collection.A response icon1A response icon1
Sergey Leschev·Aug 26, 2023React Custom Hook: useScriptEnabling you to harness its powerful functionalities without adding bulk to your bundle.
Sergey Leschev·Aug 26, 2023React Custom Hook: useRenderCountuseRenderCount helps you pinpoint the problem by showing the exact number of renders.
Sergey Leschev·Aug 25, 2023React Custom Hook: usePreviousBy usePrevious, we can effortlessly display the current count alongside its previous value, enabling users to visualize the count’s changes.