SDSurajit Dasinsurajitdas.hashnode.dev·Apr 29, 2025 · 3 min readWhat is Context API in React? With an Authentication ExampleIntroduction As React apps grow, managing and sharing state between components becomes complex. That's where the Context API comes in — a built-in feature in React that provides a simpler and cleaner alternative to prop drilling or heavy state manage...00
SDSurajit Dasinsurajitdas.hashnode.dev·Apr 29, 2025 · 4 min readUsing JWT for Authentication in a MERN BackendWhat is JWT and Why Use It? JWT (JSON Web Token) is an open standard used to securely transmit information between parties as a JSON object. It is commonly used for authentication and authorization. Authentication: Verifies who the user is. Authori...00
SDSurajit Dasinsurajitdas.hashnode.dev·Mar 26, 2025 · 4 min readHow to Implement Routing in React Using react-router-dom with createBrowserRouter and RouterProviderReact Router is a popular library for handling routing in React applications. With React Router v6.4 and later, the new createBrowserRouter and RouterProvider APIs provide a more declarative and modern way to manage routing in React projects. In this...00
SDSurajit Dasinsurajitdas.hashnode.dev·Mar 25, 2025 · 4 min readGetting Started with React using ViteReact is one of the most popular JavaScript libraries for building user interfaces, and Vite is a modern build tool that provides an incredibly fast development experience. If you’re looking to get started with React using Vite and JavaScript, you’ve...00
SDSurajit Dasinsurajitdas.hashnode.dev·Mar 14, 2025 · 6 min readHow to Create a REST API with Node.js and Express Using MVCCreating a REST API is a common task for web developers, and using Node.js with Express is a popular choice due to its simplicity and efficiency. In this article, we will walk through the steps to create a REST API for a user CRUD (Create, Read, Upda...00