hamidreza.techJavascript's Tricky "This" Keyword and Why Arrow Functions MatterJavaScript's flexibility and dynamic nature make it a powerful language, but certain feature - like the this keyword - can lead to confusion, especially within nested functions. Understanding how this behaves is crucial for writing predictable and ma...Mar 18, 2025·2 min read
hamidreza.techIntroducing keyv-upstash: Seamless Key-Value Storage for Serverless RedisGithub: https://github.com/mahdavipanah/keyv-upstash keyv-upstash is a storage adapter for Keyv that connects it to Upstash Redis, a serverless Redis platform. With this adapter, you get a simple, efficient, and flexible solution for key-value storag...Dec 10, 2024·2 min read
hamidreza.techFast and Simple NestJS App Deployment on VercelThis guide is beneficial if you're using Express adapter. For NestJS applications utilizing the Fastify adapter, these links may be helpful: https://fastify.dev/docs/latest/Guides/Serverless/#vercel https://github.com/vercel/examples/tree/main/star...Nov 26, 2024·3 min read
hamidreza.techPitfalls of URL and URLSearchParams in JavaScriptIt All Started With a Bug Working with URLs in JavaScript and Node.js should be straightforward, but a recent bug in our project led me down a rabbit hole of subtle quirks in the URL and URLSearchParams APIs. This post will explore these quirks, how ...Nov 22, 2024·3 min read
hamidreza.techResolving MongoDB Error When Starting with Homebrew on macOSIntroduction While installing MongoDB Community Edition on my MacBook using Homebrew (official MongoDB doc), I encountered an issue: the mongodb-community service seemed to start successfully but was listed as error when I checked its status. If you'...Nov 21, 2024·2 min read