Sandeep Mandal September 28, 2024 No Comments What is the use of useParams hook in React.js? The useParams hook is used to retrieve the route parameters form the current URL. It returns an object of key/value pairs of the dynamic params…
Sandeep Mandal August 3, 2024 No Comments How to use useState Hook in React? Syntax: import { useState } from "react"; import ReactDOM from "react-dom/client"; function SignIn(){ const [ userName, setUserName ] = useState(""); return ( <> <h1>SignIn</h1> <input…