How to Use Array Reduce Method in JavaScriptPosted April 13, 2021javascriptarrayreduceStart discussionWhat is a reduce operation and how to use array.reduce() method to perform the reduce operation on arrays. Continue reading ➞
3 Ways to Merge Arrays in JavaScriptUpdated January 28, 2023javascriptarrayStart discussionHow to merge arrays in JavaScript using spread operator, array.concat(), and array.push(). Continue reading ➞
A Guide to Jotai: the Minimalist React State Management LibraryPosted March 30, 2021reactstateopen sourceStart discussionHow to manage global state in React using the minimalist but flexible Jotai library. Continue reading ➞
The Difference Between Values and References in JavaScriptPosted March 23, 2021javascriptobjectStart discussionWhat is the difference between passing by value and passing by reference in JavaScript. Continue reading ➞
How to Implement a Queue in JavaScriptUpdated February 27, 2023javascriptcomputer sciencedata structurequeueStart discussionThe guide on how to implement a queue data structure in JavaScript. Continue reading ➞
A Helpful Algorithm to Determine "this" value in JavaScriptUpdated April 19, 2021javascriptthisfunctionStart discussionStruggle finding "this" value? I have created an universal algorithm to help you find "this" in any situation. Continue reading ➞
React useRef() Hook Explained in 3 StepsUpdated April 3, 2023reactuserefhookdomelementStart discussionReact.useRef() hook creates persisted mutable values (aka references or refs). refs are used to access DOM elements. Continue reading ➞
7 Interview Questions on "this" keyword in JavaScript. Can You Answer Them?Posted February 23, 2021javascriptthisinterviewStart discussion7 interview questions to challenge your knowledge on "this" keyword in JavaScript. Continue reading ➞
How to Greatly Enhance fetch() with the Decorator PatternPosted February 16, 2021fetchdecoratorjavascriptStart discussionHow to use the decorator pattern to enhance the possibilities and flexibily of fetch() API. Continue reading ➞
7 Interview Questions on JavaScript Closures. Can You Answer Them?Updated September 22, 2021javascriptclosureinterviewStart discussionI compiled a list of 7 interesting and increasingly challenging questions on JavaScript closures. Can you answer them? Continue reading ➞