Popular posts

JavaScript
React
Post image

JavaScript Promises: then(f,f) vs then(f).catch(f)

What's the difference between promise.then(fn, fn) and promise.then(fn).catch(fn) when using JavaScript promises?
Continue reading ➞
Post image

What is a Promise in JavaScript?

The post that I had wanted to read myself to understand promises.
Continue reading ➞
Post image

How to Use Promise.all()

How to use Promise.all() to perform parallel async operations in a fail-fast manner.
Continue reading ➞
Post image

A Simple Guide to Component Props in React

Posted July 2, 2021
In this guide you'll find what are component props in React and how to use them.
Continue reading ➞
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

How to Dynamically Import ECMAScript Modules

Updated October 3, 2021
How to use import(pathToModule) to dynamically import 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 ➞
prev1
[...]
345
[...]
18next

Quality posts into your inbox

I regularly publish posts containing:

  • Important JavaScript concepts explained in simple words
  • Overview of new JavaScript features
  • How to use TypeScript and typing
  • Software design and good coding practices

Subscribe to my newsletter to get them right into your inbox.

Join 7094 other subscribers.
Dmitri Pavlutin

About Dmitri Pavlutin

Tech writer and coach. My daily routine consists of (but not limited to) drinking coffee, coding, writing, coaching, overcoming boredom 😉.