⭐ Upgrade your React skills by building 100 hooks with my new book.

Let's build a Pub-Sub in TypeScript

In this article, we create a simple PubSub and make it type-safe.

May 14, 2023

Pull to refresh from scratch as a React hook

In this article, we will learn how to implement a simple usePullToRefresh hook.

May 07, 2023

Using Github Copilot for unit testing

In this article, we'll explore how to use GitHub Copilot for unit testing and how it can benefit your workflow.

January 07, 2023

How to generate a sitemap for your Next.js website

Here's a quick and easy way to automatically generate a sitemap for your Next.js website

November 03, 2022

How to build, test, and publish a TypeScript npm package in 2022

In this article, we will develop and publish an NPM package from scratch using TypeScript and Jest for testing.

October 29, 2022

JavaScript landscape is exciting again

JavaScript landscape looks very promising at the moment. Let me show you what I think is exciting.

September 22, 2022

Why I think the Temporal API could be better

Here's one example that I believe Temporal should fix to make it a really useful date/time manipulation API

July 26, 2022

How to clone an object in JavaScript?

In this article, we will explore different ways to get a copy of an existing object. The process is not as straightforward in JavaScript as it might seem and have multiple intricacies.

July 14, 2022

Invariant - a helpful JavaScript pattern

In this article, we will explain a simple but useful JavaScript pattern called invariant that will keep your code clean and readable.

July 09, 2022

Upcoming ECMAScript features I'm excited about

In this article, let's quickly get familiar with some of the (objectively) greatest JavaScript proposals coming to the language soon.

June 25, 2022

Content Security Policy Demystified

Content Security Policy is a great tool that improves your website's security by limiting the sources from which the resources can be downloaded. Here's how it works.

June 22, 2022

Easy theming using CSS variables

I compiled a list of brilliant JavaScript blogs that I learn from regularly - some are well-known, while the others are less so.

May 22, 2022

Great JavaScript bloggers to follow in 2022

I compiled a list of brilliant JavaScript blogs that I learn from regularly - some are well-known, while the others are less so.

May 14, 2022

Setting up Rails 7 for TypeScript and React

Rails 7 is released, and now we can use esbuild to compile both TypeScript and JSX and enjoy the almost magical compilation speed.

December 21, 2021

JavaScript Tagged Templates

Let's talk about JavaScript's tagged templates - what they are, how to use them, and in which circumstances they can be helpful.

December 12, 2021

What are the differences between var, let, and const

In this article, we are explaining the difference between var, let, and const.

December 02, 2021

Shared State Without React's Context

We will show how to implement a shared state manager in plain JavaScript, with no extra libraries and completely framework-agnostic, and we will use it to share state between React components.

November 17, 2020

What's new in ECMAScript 2020

Here's a list of features coming with ECMAScript2020 along with examples. Have a quick glimpse at dynamic imports, nullish coalescing, optional chaining, BigInt, and more.

April 12, 2020

Readable JavaScript

How do you write readable JavaScript? Is there a single rule to keep in mind? It turns out there is and it's a very simple one.

November 25, 2019

Nullish Coalescing vs. Short-circuit vs. Default Params

What is nullish coalescing? How does it compare to setting a default function argument or the short-circuiting with `||`?

November 12, 2019

6 Easily Fixable Web Form Issues

Forms interactions. Even the most popular websites have some very basic problems with them, unable to submit by pressing enter, tab won't move the focus on the next field, and so on. The good news is that the fix is trivial.

August 19, 2019

What Future Holds For JavaScript — Upcoming Features And Proposals

In this article, let's have a closer look at what features are likely to become a part of official JavaScript spec very soon.

July 30, 2019

JavaScript Interview Exercises With Solutions 2019

I find it extremely beneficial to ask a job seeker to solve some of the following exercises. It helps to understand how good is a person you're dealing with in JavaScript and also shows how he or she thinks about the problems in general. In this article, I'd like to share some of those exercises.

March 23, 2019

Best JavaScript Bloggers To Follow In 2019

Let me show you some of the greatest JavaScript authors. They are all strong personalities, achievers, and in many cases, critical JavaScript community influencers.

December 25, 2018

Converting A React Component To Hooks

This article covers how to convert a typical React app with a state managed by React.Component to new Hooks framework which allows to write your components without classes.

November 24, 2018

The Pipeline Operator In JavaScript

Meet the pipe operator, a latest JavaScript proposal that can make the code look much better, cleaner, and shorter. What problem is supposed to solve and why? Let me show you.

October 25, 2018