rahul-choudhary.hashnode.devGuide to NextAuth: Stateless(default) and StatefulPrerequisites Solid understanding of Authentication fundamentals Familiarity with JWT, Sessions, OAuth If you want to read about above topics checkout this article https://noncodersuccess.medium.com/understanding-session-jwt-token-sso-and-oauth-2...Jan 31·4 min read
rahul-choudhary.hashnode.dev"Login with Google": A Beginner’s Guide to OAuthWe have all done it. You visit a new website—maybe a cool new productivity tool or a shopping site—and instead of creating a whole new username and password, you just click that convenient “Sign in with Google” button. It feels like magic. You click,...Jan 31·4 min read
rahul-choudhary.hashnode.devThe Problem with Static Site Generation — and How ISR Solves ItWhen I first started using Static Site Generation (SSG) in Next.js, it felt like magic. You pre-render your pages at build time, deploy them, and boom — your site is fast, SEO-friendly, and scalable. What’s not to love? But then I asked myself a ques...Aug 1, 2025·5 min read
rahul-choudhary.hashnode.devHow to Handle Input in JavaScript for Coding InterviewsWhen it comes to preparing for data structures and algorithms (DSA) interviews, most resources and platforms showcase input handling in C++ (cin >>) or Python (input()). But what about JavaScript? Its input handling can be confusing for beginners, es...May 23, 2025·3 min read
rahul-choudhary.hashnode.devFixing Continuous Re-Renders in React: Understanding Passing by Reference vs. Passing by Value and application of spreed operatorIntroduction Recently, while working on a React project, I encountered an issue where my component was re-rendering continuously despite implementing a debounce hook(It is just a fancy useEffect hook wraped with some additional logic). This led to un...Jan 29, 2025·3 min read