PinnedDavidShort-circuit evaluation in JavaScriptShort-circuit will help us to reduce a lot of work in real cases. We need to learn it to improve performance.4 min read·Nov 8, 2022--1--1
PinnedDavidMemoize function in JavaScriptSometimes, your function takes too much time to execute, so you don't want to execute it again if it takes the same arguments. In this…3 min read·Oct 11, 2021----
PinnedDavidShould React Hooks return Array or Object?Most of the time, you will see the hooks returning an array, are you…3 min read·Oct 11, 2021----
DavidEverything you should know about array reduce method in JavaScriptThe reduce() method is powerful. You can solve the problems with reduce() method as you do with the filter() method or map() method in JS.3 min read·Oct 14, 2021----