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 JavaScriptPosted March 16, 2021javascriptcomputer 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 ➞
The Complete Guide to useRef() and Refs in ReactUpdated October 26, 2021reactuserefhookdomelementStart discussionHow to use React.useRef() hook to create persisted mutable values (also known as references or refs), as well 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, 2021fetchdecorator patternasync awaitStart 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 ➞
What's a Method in JavaScript?Posted February 2, 2021javascriptfunctionmethodStart discussionA method is a function that belongs to an object and executed with that object as a context. Continue reading ➞
array.sort() Does Not Simply Sort Numbers in JavaScriptPosted January 26, 2021javascriptarraynumbersortStart discussionarray.sort() method, when invoked without arguments, doesn't sort numbers as you might expect. Continue reading ➞