The choice between Tailwind and Bootstrap

Both have their strengths and can be effective for different types of projects. Consider your specific needs, development workflow, and design preferences when making a decision.

Deep dive into try-catch error types in TypeScript

You can throw any value, but the only type annotations that are allowed on catch clause variables are `any` or `unknown`, which are the most general types in TypeScript.

Jul 04, 2023#typescript#how-to

How to fix the unknown at rule @tailwind warning

It means that the editor does not recognize the @tailwind directive, which is used to inject Tailwind's base, components, utilities, and screens styles into your CSS files.

How to promisify a function in Node.js

Promisifying is converting a callback-based function into a function that returns a promise, which allows you to use promise chaining or convenient async/await syntax.

Jun 30, 2023#node#how-to

How to remove last character from string in JavaScript

Both substring() and slice() methods allow you to extract a portion of a string. By specifying a range that excludes the last character, you effectively remove it from the string.

Unlocking the Power of Macros in Swift 5.9

Macros are a feature present in a number of languages that allow one to perform some kind of transformation on the program's input source code to produce a different program.

Jun 19, 2023#swift

Inline vs External SVGs in React

Inline SVGs provide direct control and flexibility, while external SVGs offer better modularity, reusability, and easier collaboration between designers and developers.

Jun 17, 2023#react#comparison

How to design a URL shortening service like Bitly

An URL shortening service is a web app that converts a long URL into a short URL. It does this by using a redirect, which is a link that connects the short URL to the long one.

What's New in JavaScript ES2023

ES2023 is the latest version of the ECMAScript standard that will be finalized in June 2023, introducing some new features and improvements that JavaScript will conform to.

How to parse and format URL query strings in JavaScript

The query string provides a way to include additional information in a URL, such as search terms, filters, sorting options, pagination details, or any other data that needs to be passed.