MKMegha Khatriinmegha17.hashnode.dev·Mar 17, 2023 · 4 min readRouter in ReactWhat 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 ...00
MKMegha Khatriinmegha17.hashnode.dev·Mar 12, 2023 · 1 min readuseContext in HooksReact 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...00
MKMegha Khatriinmegha17.hashnode.dev·Mar 11, 2023 · 2 min readuseEffect in HooksWhat 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 ...00
MKMegha Khatriinmegha17.hashnode.dev·Mar 10, 2023 · 4 min readHOOKS or useState HookIntroduction 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...00
MKMegha Khatriinmegha17.hashnode.dev·Mar 9, 2023 · 2 min readList And KeysWhat 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 ...00