Introduction If we have ever started a project using React or Next.js, we would have noticed two commands that look almost the same: npm and npx. Although they look similar, their uses are totally different in the web development world.In this blog, we will understand the differences between the two in simple terms with examples […]
Introduction When I first stumbled across “System Design” about three months ago. I genuinely thought it was just another tech buzzword that only gray-haired architects at Netflix worried about. Well, I was wrong about that. Why does this actually matter: System design separates code that barely limps along from code that actually survives in real-world […]
Introduction Traditionally, we used ternary operators or CSS style attributes (display and visibility) to implement conditional rendering in a React component, but the issue with this approach was that either it caused internal state loss or was not performance-friendly. With React 19, a new component called Activity has been introduced which can implement conditional rendering […]
Introduction Imagine opening Netflix and waiting 10 seconds for the homepage to load. Would you stay? Probably not. In today’s world, users want speed, smoothness, and instant results. That’s exactly what Next.js delivers for developers, and why it feels like coding in the future. The Struggle Before Next.js Back when developers only used plain React […]
Introduction Serverless. A term that often confuses at first glance. Because servers are still there. You just don’t touch them. You don’t set them up, scale them, or patch them. That’s someone else’s job now — the cloud provider’s. And the most common example of this approach is AWS Lambda. For many developers, Lambda is […]
State management is one of the most important cogs of a React application. Developers can opt to work with built-in solutions, such as useContext or state management libraries like Jotai or Redux. This decision has a significant impact on the application’s performance and maintainability. I decided to look into Jotai, a modern atomic state management […]
In React, performance often comes down to avoiding unnecessary re-renders. Too many re-renders can slow down your app and make it feel less responsive. Until now, below methods used to avoid re-renders : React.memo to wrap components useMemo and useCallback to memoizing values and functions These tools work but they also add extra code, boilerplate, […]
If you’ve ever worked on AWS Lambda, you will know that one word that buzzes every developer is – cold start. It’s like Thanos, an inevitable tax that you pay when Lambda spins up a fresh execution environment to handle a request. In Node.js, while the AWS documentation covers the basics (provisioned concurrency, minimizing package […]
Introduction You probably already know how powerful GitHub Workflows are. They can transform the way you consume software and significantly boost your productivity. With them, you can automate almost anything. If you’re new to GitHub Actions or want to understand them in depth, I highly recommend Sudarshan’s excellent post, “GitHub Actions for Seamless CI/CD,” which […]