Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 964 Bytes

File metadata and controls

46 lines (28 loc) · 964 Bytes

React Router

🚀 Project Overview

This is a React + Vite project that demonstrates the use of React Router for navigation. It shows how we can create a layout and can just change the main component with using Outlet. We don't need to call header and footer on each page component. We also learn the use of useParams() to allows you to access URL parameters inside a React component.


⚙ Technologies Used

  • React – Core library
  • React Router – For navigation
  • Tailwind – For UI

📌 Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/Kunal1101/react-router
cd react-router

2️⃣ Install Dependencies

npm install

3️⃣ Start the Development Server

npm start

The app will run at http://localhost:3000/.


🙌 Contributing

Feel free to fork this repo and submit pull requests! 🎉

⭐ Happy Coding! 🚀