Writing

Notes from the build

Articles by Milan Katira on full-stack engineering, Node.js, React, Next.js, databases and building developer tools.

Nov 26, 2026 · 6 min read

Querydig Find Slow and N Plus One Database Queries Before Production

querydig is a free, open-source CLI that finds N+1, slow and unoptimized MongoDB and SQL queries in JS/TS, Python, Go, Java, Ruby and PHP code. Run npx querydig locally, in CI, in ESLint or via MCP.

Apr 21, 2024 · 2 min read

Web Application SEO Optimization Guide

By following these steps and continually monitoring and improving your Next.js web application's SEO, you can enhance its visibility and drive more organic traffic to your site. Remember that SEO is an ongoing process, so stay updated with industry trends and algorithm changes to maintain your site's search engine rankings.

Apr 12, 2024 · 2 min read

Caching in React

Caching is a technique used to store data in a temporary memory area for faster access. In React applications, caching can significantly improve performance by reducing the time required to recompute values that do not change frequently. Two essential hooks for implementing caching in React are useMemo and useCallback.

Mar 24, 2024 · 1 min read

Next.Js authentication using Lucia

Handling authentication is a complicated yet crucial task. Recognizing the importance of a robust and secure authentication system, Lucia be an excellent solution for your next project. As a lightweight auth library specifically designed for TypeScript, Lucia abstracts the intricacies of managing users and sessions, making the developer’s job significantly easier.

Mar 6, 2024 · 1 min read

React Redux Toolkit

Redux Toolkit is the official, opinionated, batteries-included toolset for efficient Redux development. It provides utilities to simplify common Redux use cases, such as store setup, reducer creation, and asynchronous logic handling.

Feb 24, 2024 · 1 min read

Typescript first Zod validation

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas for your data and validate them against those schemas.

Feb 18, 2024 · 2 min read

Top 10 Common ReactJS Mistakes

Top 10 Common ReactJS Mistakes Every Web Developer Should Avoid

Feb 18, 2024 · 2 min read

cluster module in node js

In the world of web applications, scaling up to meet increasing user demand is a crucial challenge. Node.js, a popular server-side JavaScript runtime, offers an elegant solution to this problem through its built-in 'Cluster' module. With this module, developers can harness the full potential of multi-core processors, enabling seamless concurrency and improved performance. In this article, we will explore the Cluster module in Node.js and how it empowers developers to build scalable applications.