Records and Tupples in JavaScript

In this article, we will have a look at the upcoming Record / Tuple proposal. How to create them, why use them, and how do they compare to regular objects and arrays?

June 22, 2023

Pull to refresh from scratch as a React hook

Let's build a pull-to-refresh! Oh boy, I spent a lot of time making all those nice GIFs showing our cool new components at each step.

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 using next-sitemap library.

November 03, 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 clone existing objects. The process is not very straightforward and has 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 (or CSP) is an easy way to improve your website's security by limiting 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

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 will explaining the difference between var, let, and const. When to use which, and how to use them.

December 02, 2021

Shared State Without React's Context

Let's implement a state manager in JavaScript, with no extra libraries and framework-agnostic, and we will use it to share the state between React components.

November 17, 2020

What's new in ECMAScript 2020

Here's a list of features coming with ECMAScript2020 - 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

Six Easily Fixable Web Form Issues

Even the most popular websites have problems with form interactions. The good news is that usually the fix is trivial. Let me how you some examples.

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

We'll cover some of the best JavaScript interview exercises that help to test a persons knowledge and ability to solve problems.

March 23, 2019

Best JavaScript Bloggers To Follow In 2019

Here are 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

Let me show you how to convert a typical React app with a state managed by React.Component to hooks, which allows you to write your components without classes.

November 24, 2018

The Pipeline Operator In JavaScript

The pipeline operator in JavaScript 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