---
title: "krishna tyagi (@krishnatyagi) | Hashnode"
description: "Full stack web developer. Read the latest articles by krishna tyagi on Hashnode."
url: "https://hashnode.com/@krishnatyagi"
---

@krishnatyagi

# krishna tyagi

@krishnatyagi · delhi, India · Joined February 2022

Full stack web developer

[Website](https://krishnatyagi01.github.io/My-Portfolio/)

### [NextAuth for client-side authentication](https://krishnatyagi.hashnode.dev/nextauth-for-client-side-authentication?utm_source=hashnode&utm_medium=feed)

Authentication is one of the most important part of your application. Most applications in modern times require the user to verify their identity before using the application. Basically, Authentication is the process of verifying the identity of a us...

4 min read · [krishnatyagi.hashnode.dev](https://krishnatyagi.hashnode.dev/nextauth-for-client-side-authentication?utm_source=hashnode&utm_medium=feed)

[Sep 24, 2022](https://hashnode.com/posts/nextauth-for-client-side-authentication/632f653da50ebf1cd1490373)

### [5 tips to write scalable react code:](https://krishnatyagi.hashnode.dev/5-tips-to-write-scalable-react-code?utm_source=hashnode&utm_medium=feed)

1) Organize local and global state: React is a library that manages the UI based on its current state. we can manage the state locally or globally (using context API, redux etc) Rather than using Redux/Context-API to keep track of every single stat...

2 min read · [krishnatyagi.hashnode.dev](https://krishnatyagi.hashnode.dev/5-tips-to-write-scalable-react-code?utm_source=hashnode&utm_medium=feed)

[Feb 7, 2022](https://hashnode.com/posts/5-tips-to-write-scalable-react-code/620119ef295d276006776951)

### [Understanding Virtual DOM in React](https://krishnatyagi.hashnode.dev/understanding-virtual-dom-in-react?utm_source=hashnode&utm_medium=feed)

If you work with react, you must have heard about virtual DOM. Let's understand what's virtual DOM and how react works under the hood. Before moving to virtual DOM, let us first understand what is DOM DOM stands for ‘Document Object Model’. In sim...

2 min read · [krishnatyagi.hashnode.dev](https://krishnatyagi.hashnode.dev/understanding-virtual-dom-in-react?utm_source=hashnode&utm_medium=feed)

[Feb 3, 2022](https://hashnode.com/posts/understanding-virtual-dom-in-react/61fc16be8d15cb3e7ce5f3da)

### [Understanding webpack](https://krishnatyagi.hashnode.dev/understanding-webpack-1?utm_source=hashnode&utm_medium=feed)

So if you are into web development, I bet you would have heard of webpack before. Today I am going to demystify webpack for you in 5 minutes Okay so let us start with the most important part What is webpack? Webpack is a module bundler for javascri...

1 min read · [krishnatyagi.hashnode.dev](https://krishnatyagi.hashnode.dev/understanding-webpack-1?utm_source=hashnode&utm_medium=feed)

[Feb 1, 2022](https://hashnode.com/posts/understanding-webpack-1/61f979dde0502911a6f109dc)

### [Understanding webpack](https://krishnatyagi.hashnode.dev/understanding-webpack?utm_source=hashnode&utm_medium=feed)

So if you are into web development, I bet you would ave heard of webpack before. Today I am going to demystify webpack for you in 5 minutes Okay so let us start with the most important part What is webpack? webpack is a module bundler for javascri...

1 min read · [krishnatyagi.hashnode.dev](https://krishnatyagi.hashnode.dev/understanding-webpack?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/understanding-webpack/61f9786343e34d1181695256) [Feb 1, 2022](https://hashnode.com/posts/understanding-webpack/61f9786343e34d1181695256)
