Popular posts

JavaScript
React
Post image

How to Use Array Reduce Method in JavaScript

What is a reduce operation and how to use array.reduce() method to perform the reduce operation on arrays.
Continue reading ➞
Post image

3 Ways to Merge Arrays in JavaScript

Updated January 28, 2023
How to merge arrays in JavaScript using spread operator, array.concat(), and array.push().
Continue reading ➞
Post image

A Guide to Jotai: the Minimalist React State Management Library

How to manage global state in React using the minimalist but flexible Jotai library.
Continue reading ➞
Post image

The Difference Between Values and References in JavaScript

What is the difference between passing by value and passing by reference in JavaScript.
Continue reading ➞
Post image

How to Implement a Queue in JavaScript

The guide on how to implement a queue data structure in JavaScript.
Continue reading ➞
Post image

A Helpful Algorithm to Determine "this" value in JavaScript

Struggle finding "this" value? I have created an universal algorithm to help you find "this" in any situation.
Continue reading ➞
Post image

React useRef() Hook Explained in 3 Steps

React.useRef() hook creates persisted mutable values (aka references or refs). refs are used to access DOM elements.
Continue reading ➞
Post image

7 Interview Questions on "this" keyword in JavaScript. Can You Answer Them?

7 interview questions to challenge your knowledge on "this" keyword in JavaScript.
Continue reading ➞
Post image

How to Greatly Enhance fetch() with the Decorator Pattern

How to use the decorator pattern to enhance the possibilities and flexibily of fetch() API.
Continue reading ➞
Post image

7 Interview Questions on JavaScript Closures. Can You Answer Them?

I compiled a list of 7 interesting and increasingly challenging questions on JavaScript closures. Can you answer them?
Continue reading ➞
prev1
[...]
567
[...]
18next