PinnedShort-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.Nov 8, 20221Nov 8, 20221
PinnedMemoize 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…Oct 11, 2021Oct 11, 2021
PinnedShould React Hooks return Array or Object?Most of the time, you will see the hooks returning an array, are you…Oct 11, 2021Oct 11, 2021
Everything 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.Oct 14, 2021Oct 14, 2021