JavaScript
React
Best Practices
Popular
Post image

How to Use ECMAScript Modules in Node.js

How to enable and use ECMAScript 2015 modules in Node.js.
Continue reading ➞
Post image

Solving a Mystery Behavior of parseInt() in JavaScript

Solving a mystery of how parseInt() parses small float numbers in JavaScript.
Continue reading ➞
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

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

The Complete Guide to useRef() and Refs in React

How to use React.useRef() hook to create persisted mutable values (also known as references or refs), as well 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 ➞
prev1
[...]
345
[...]
16next