---
title: "Megha Khatri (@megha17) | Hashnode"
description: "Megha Khatri (@megha17) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@megha17"
---

@megha17

# Megha Khatri

@megha17 · Joined November 2022

### [Router in React](https://megha17.hashnode.dev/router-in-react?utm_source=hashnode&utm_medium=feed)

What is Router? React Router is a standanrd library for routing in react. It enables the navugigation among views of various components in a react application, allows changing the browser URL,and keeps the UI in sync with the url. React Routing is ...

4 min read · [megha17.hashnode.dev](https://megha17.hashnode.dev/router-in-react?utm_source=hashnode&utm_medium=feed)

[Mar 17, 2023](https://hashnode.com/posts/router-in-react/64144b99d398e4f54f7e3622)

### [useContext in Hooks](https://megha17.hashnode.dev/usecontext-in-hooks?utm_source=hashnode&utm_medium=feed)

React context is a way to manage state globally. It can be used together with the useState hook to share state between deeply nested components more easily than with useState alone. //Pass data from app component to compC ile through file:- // Ap...

1 min read · [megha17.hashnode.dev](https://megha17.hashnode.dev/usecontext-in-hooks?utm_source=hashnode&utm_medium=feed)

[Mar 12, 2023](https://hashnode.com/posts/usecontext-in-hooks/640d80c16986b2b57a79c08b)

### [useEffect in Hooks](https://megha17.hashnode.dev/useeffect-in-hooks?utm_source=hashnode&utm_medium=feed)

What is useEffect Hooks? If you are familiar about with react life cycle method of class component, you can compare useEffect Hook as componentDidMount, componentDidUpdate and componentWillUnmount combined How to use useEffect Hook:- First you have ...

2 min read · [megha17.hashnode.dev](https://megha17.hashnode.dev/useeffect-in-hooks?utm_source=hashnode&utm_medium=feed)

[Mar 11, 2023](https://hashnode.com/posts/useeffect-in-hooks/640c2e56854aafd8a3516b3d)

### [HOOKS or useState Hook](https://megha17.hashnode.dev/hooks-or-usestate-hook?utm_source=hashnode&utm_medium=feed)

Introduction of hooks? it allow you to use state and other react features without written a class. Hooks allow function components to have acess to state and other react features like life cycle methods. Because of this, class components are gener...

4 min read · [megha17.hashnode.dev](https://megha17.hashnode.dev/hooks-or-usestate-hook?utm_source=hashnode&utm_medium=feed)

[Mar 10, 2023](https://hashnode.com/posts/hooks-or-usestate-hook/640ac70aef3f97aa3aaab8d6)

### [List And Keys](https://megha17.hashnode.dev/list-and-keys?utm_source=hashnode&utm_medium=feed)

What is list Rendering? List are very useful when it comes to developing the UI of any website. List are mainly used for displaying list of things in a website. Ex- list of products, list of names, list of courses etc. In react ,you will render ...

2 min read · [megha17.hashnode.dev](https://megha17.hashnode.dev/list-and-keys?utm_source=hashnode&utm_medium=feed)

[Mar 9, 2023](https://hashnode.com/posts/list-and-keys/6409822f3216d723e5b92b15)
