This project demonstrates how to use React Router with ReactProvider
, createBrowserRouter
, and createRoutesFromElements
for efficient routing in a React application. The project also showcases the usage of the loader
attribute to fetch data from GitHub seamlessly.
- 📦 React Router Setup: Utilizes
createBrowserRouter
andcreateRoutesFromElements
for dynamic routing. - 🔄 Data Fetching: Uses the
loader
attribute to fetch data from GitHub and display it in components. - 🧑💻 ReactProvider: Wraps the application to manage the routing context.
- Open the app and explore different routes.
- GitHub data will be fetched automatically using the loader attribute and displayed in the appropriate components like number of followers and github avatar or profle
Mohd Afsar Hussain Feel free to reach out for any queries or suggestions!