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?
Let's build a Pub-Sub in TypeScript
In this article, we create a simple PubSub (or event emitter) from scratch in TypeScript, and make it as type-safe as possible.
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.
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.
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.
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.
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
In this article, we will explore different ways to clone existing objects. The process is not very straightforward and has multiple intricacies.
Upcoming ECMAScript features I'm excited about
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.
Easy theming using CSS variables
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.
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.
Shared State Without React's Context
What's new in ECMAScript 2020
Here's a list of features coming with ECMAScript2020 - dynamic imports, nullish coalescing, optional chaining, BigInt, and more.
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 `||`?
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.
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.