why we '' instead of "anchor tag" because it refresh the entire page and repaint the entire page thats why we use Link tag and not a tag a : Link href : to H
Best practices components :- Header Footer
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh