Popular posts

JavaScript
React
Post image

Don't Stop Me Now: How to Use React useTransition() hook

How to speed up UI updates by prioritizing updates using React useTranstion() hook.
Continue reading ➞
Post image

A Simple Explanation of JavaScript Variables: const, let, var

How to declare, initialize, assign and read JavaScript variables using const, let and var statements.
Continue reading ➞
Post image

ES Modules Dynamic Import

Updated March 22, 2023
How to use import(pathToModule) to dynamically import ES (ECMAScript) modules in JavaScript.
Continue reading ➞
Post image

How to Memoize with React.useMemo()

Updated February 12, 2023
How and when to use React.useMemo() hook to improve the performance of React components.
Continue reading ➞
Post image

How to Cleanup Async Effects in React

Posted May 25, 2021
How to correctly cleanup async side-effects in React when the component unmounts or updates.
Continue reading ➞
Post image

Why Math.max() Without Arguments Returns -Infinity

What is the reason that Math.max() utility function when being called without arguments returns -Infinity.
Continue reading ➞
Post image

How to Debounce and Throttle Callbacks in React

Updated January 28, 2023
How to debounce and throttle callbacks in React using useCallback() and useMemo() hooks.
Continue reading ➞
Post image

Don't Confuse Function Expressions and Function Declarations in JavaScript

What are the differences between function declarations and function expressions in JavaScript.
Continue reading ➞
Post image

How to Use ES Modules in Node.js

How to Use ES (ECMAScript) Modules in Node.js environment.
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 ➞
prev1
[...]
456
[...]
18next