Configure multiple entry points for Create React App without the eject

Create React App is opinionated and hides build configuration. Learn how to configure multiple entry points without ejecting using Webpack dynamic imports, keeping your builds fast and maintainable.

A simple Mobx under 50 LOC to understand observer pattern

Mobx uses observer pattern with a smart approach to create subscriptions implicitly. Some developers call it 'magic', but there's no magic at all - just pure ingenuity. Let's build a simplified version to understand how it works.

Display calendar using SQL

Do you like solving SQL puzzles? There is a fun exercise you can try if you love racking your brain with tough SQL tasks - write a query to display current month in calendar format.

Configure HTTPS for wildcard domains with Nginx and Certbot

Certbot allows to automatically install Letsencrypt certificates on a server. For a regular website with only 1 domain, the process of installing can be described as ordinary 'Next next install'. Things are getting complicated if you need to create a wildcard certificate.

The difference between type and interface in TypeScript

Type and interface in TypeScript often confuse people because they look similar on the surface. The situation gets worse with outdated articles, biased comparisons, and style guides from some frameworks.

Reasons to avoid default exports in JavaScript

In ES6, there are two ways to export classes, functions, and variables from modules - named export and default export. Default exports have several disadvantages compared to named exports.