JS16 articles
Master JavaScript with practical tutorials and best practices. Learn ES6+ features, async patterns, and modern techniques for web development.
Articles
The early return pattern in JavaScript
--- views
Discover how early return and guard clauses can simplify your JavaScript functions, reduce nesting, and free your mind to focus on the real logic.
Custom Hooks Pitfalls
--- views
Learn about performance risks in React custom hooks, how they cause unexpected re-renders, and strategies to manage state efficiently.
React Re-Renders
--- views
Dive into the mechanics of React re-renders — learn what causes them, how they impact performance, and how to manage them effectively.
Semantic Versioning in npm
--- views
A friendly, practical guide to SemVer in npm. Learn versioning rules, avoid dependency chaos, and manage updates with confidence.
Why Are JavaScript Naming Conventions Important?
--- views
Master JavaScript naming conventions with this guide. Learn best practices for naming variables, functions, and classes to write cleaner code.
Conventional Commits
--- views
Master Conventional Commits to write clear, structured commit messages. Learn the format, types like feat and fix, and how to automate changelog generation.
How to decrease deployment time by 44% with pnpm
--- views
Migrate from npm to pnpm and cut your deployment time by 44%. Step-by-step guide covering installation, lockfile conversion, and CI/CD configuration.
What is Astro Framework?
--- views
Comprehensive guide to the Astro framework. Learn what makes it special, explore its core features, and understand why it's great for static sites.
Node Version Manager
--- views
Learn how to install and use Node Version Manager (NVM) to switch between Node.js versions. Essential for projects with different Node version requirements.
Postgres connect to database with URL
--- views
Learn how to connect to PostgreSQL using a connection URL string. Simple guide for Node.js, DataGrip, or any client supporting URL-based database connections.
JavaScript 101: Arrays
--- views
Master JavaScript array methods with this beginner-friendly guide. Learn map, filter, reduce, find, and other essential methods with practical examples.
Difference between absolute and relative URL in HTML
--- views
Understand when to use absolute vs relative URLs in HTML. Clear examples showing how each type works, their pros and cons, and best practices for web links.
Dispatch table in javascript
--- views
Replace messy switch statements with dispatch tables in JavaScript. Learn this clean code pattern for handling multiple conditions with maintainable code.
for...in vs for...of Loops
--- views
Understand the key differences between for...in and for...of loops in JavaScript. Learn when to use each for iterating over arrays, objects, and iterables.
Expressions vs Statements
--- views
Learn the difference between expressions and statements in JavaScript. Understanding this distinction helps you write better code and avoid syntax errors.
How to fix "__dirname is not defined in ES module scope"
--- views
Fix the "__dirname is not defined in ES module scope" error in Node.js. Learn how to recreate __dirname and __filename using import.meta.url in ES modules.