Manuj
About
Experience
Projects
Blog
Resume
GitHub
LinkedIn
X
Stack Overflow
LeetCode
Blog
Thoughts on web development, tech, and more
All
algorithms
api-design
async-programming
backend
graphql
javascript
nextjs
node
npm
pnpm
programming
react
typescript
web development
web-development
yarn
Apr 5, 2026
11 min read
Page Numbers Lie: Offset vs Cursor Pagination
Why the humble "next page" button is hiding a dark secret — and how cursor-based pagination fixes it for good.
graphql
javascript
typescript
backend
api-design
Read More
Mar 1, 2026
11 min read
Which promise method do you need?
A deep dive into Promise.all, Promise.any, Promise.race, and Promise.allSettled — with polyfills, gotchas, and a decision framework to help you pick the right one.
javascript
web-development
async-programming
Read More
Feb 13, 2026
6 min read
Handy Bit Manipulation Tricks
Common bit manipulation tricks that are worth keeping in your toolbox.
algorithms
javascript
typescript
programming
Read More
Feb 1, 2026
14 min read
Mastering TypeScript Utility Types: Part 3 — Building Custom Utilities
From DeepPartial to Polymorphic—how to build your own utility types and understand the patterns powering modern component libraries.
typescript
web development
react
nextjs
Read More
Jan 24, 2026
14 min read
Mastering TypeScript Utility Types: Part 2 — The Transformers & Type Thieves
From brittle test mocks to type-safe state machines—how Partial, Exclude, ReturnType, and Parameters eliminate manual type definitions.
typescript
web development
react
nextjs
Read More
Jan 12, 2026
7 min read
Dependency Rollercoaster: Navigating the NPM Theme Park
Understanding different types of dependencies and what semver means when it comes to npm
node
npm
yarn
pnpm
Read More
Jan 5, 2026
11 min read
Mastering TypeScript Utility Types: Part 1 — The Sculptors
From "vibe-based" objects to optional chaining hell—how to use Record, NonNullable, Pick, and Omit to clean up your production codebase.
typescript
web development
react
nextjs
Read More