Follow the steps below : Install the following packages : npm install @mui/material @emotion/react @emotion/styled For using ICONS : npm i @mui/icons-material For Routing : npm i react-router-dom FOLDER STRUCTURE should be like : Routing will done at App.js : import Header from './components/Header' import { BrowserRouter as Router , Routes , Route , Link } from "react-router-dom" ; import Home from './components/Home' import Edit from './components/Edit' import Add from './components/Add' function App () { return ( <> < Header /> < Router > < Routes > < Route path = "/" element = { < Home /> } /> < Route path = "/add" element = { < Add /> } /> < Route path = "/edit" element = { < Edit /> } /> </ Routes > </ Router > </
Hi Guys Welcome to Saifi Code , Here I have blogs on react js tutorial for beginners step by step with examples in hindi. Also I make Blogs/videos on react js form examples for beginners and react js functional component hooks. You will find How to create form in react js functional component.