BLOG
Triggering remount of React components
When rerendering a child component on prop change is not enough, you need to force a remount.
September 12, 2026
Dealing with Mongoose subdocument arrays
Why $elemMatch belongs in both the filter and the projection, and how updateOne, findOneAndUpdate, $push, $pull can improve your query performance.
July 29, 2026
Refresh token flight deduplication in Next.js
When two Server Actions fire at once, both can try to spend the same rotating refresh token and one comes back 401. A small in-memory promise map collapses them into a single refresh.
February 4, 2026
Setting up tsoa in an Express backend
Use NestJS-like decorators (@Get, @Post, @Body, @Queries, etc.) on your Controller functions to auto-generate OpenAPI specification for your Express.js APIs.
January 9, 2026
The Transpilation of TypeScript import statements
A deep dive on JavaScript modules, tsconfig.compilerOptions and its effects on transpilation of TypeScript import statements.
June 24, 2024
Auth0 Integration in self-hosted authentication APIs
Client applications will directly consume your custom authentication APIs, hosted on your backend server, but they are powered by Auth0.
October 15, 2023
Maximizing asynchronous OCR operations with Tesseract and Quartz
Optimizing Tesseract OCR operations with Quartz scheduler.
December 12, 2019