If you use Git in your daily work, git checkout is a common command. It's often used to switch...
Someone asked me recently, are JavaScript object properties necessarily unordered and...
TypeScript, a statically-typed superset of JavaScript, has gained massive popularity in the tech...
SSE (Server Sent Events) is not widely used in the world of web development, this article will take a...
One of the staples of environment management in Node.js has been the use of the dotenv package, which...
Typescript has a feature called keyof that can be used to obtain the keys of an object. However, the...
HTML is a powerful language for creating web pages, and while most developers are familiar with...
JavaScript is indeed flexible, but it also brings some confusion. For example, you can use multiple...
The delete operator is arguably an old language feature of JavaScript. As it literally means, it...
In web development, you may need to rotate an image, which is easy to do in CSS. Simple code like...
If you’ve built React apps, you’ve definitely used React Router. It’s a feature-rich routing library,...
1. The which command The which command and the whereis command below both search for...
When you need to respond quickly to user actions and fetch the latest data from the backend, you...
The Basics of JavaScript Modules Modules are self-contained pieces of code that can be...
Latest updates in my newsletter. JavaScript modules are a way to organize code into reusable...
When we need to create simple dynamic HTML DOM elements, we can use HTML string templates. There are...
Latest updates in my newsletter. In TypeScript, when we want to define an object type, there are...
TL;DR: JavaScript’s Set data structure has added 7 new APIs that are very useful and can reduce the...
In JavaScript, you might already know how to cancel a request: you can use xhr.abort() for XHR and...
TL;DR: I've recently open-sourced KeyEcho, an application that listens to your keyboard typing and...
The arrow function that appeared in ES6 has brought us great convenience, but it is still different...
As developers, when using Git to commit code to a remote repository, we need to write information...
React 19 Beta has been announced, it introduces several new concepts that simplify state management,...
This article will introduce those parts that cannot be ignored in various programming languages — the...
In some cases, we may need to control the number of concurrent requests. For example, when we are...
In JavaScript, we can use == , === operator and Object.is method to judge the equality of two...
Originally published in my newsletter. Pre-knowledge In JavaScript, data types can be...
The adoption of ECMAScript Modules (ESM) for development has become mainstream, yet Node.js continues...
I believe you are no stranger to script elements in HTML. It has some properties such as async,...
Originally published in my newsletter. Hypertext Transfer Protocol (HTTP) is an application-layer...