Skip to content

A demonstration of implementing React Router with ReactProvider, createBrowserRouter, and createRoutesFromElements, showcasing efficient routing and data fetching using the loader attribute to fetch GitHub data seamlessly

Notifications You must be signed in to change notification settings

afsar-hussai/reacty-Router

Repository files navigation

🚀 Reacty-Router

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.

🧑‍💻 Features

  • 📦 React Router Setup: Utilizes createBrowserRouter and createRoutesFromElements 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.

🧑‍💻 Usage

  • 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

👨‍💻 Author

Mohd Afsar Hussain Feel free to reach out for any queries or suggestions!

About

A demonstration of implementing React Router with ReactProvider, createBrowserRouter, and createRoutesFromElements, showcasing efficient routing and data fetching using the loader attribute to fetch GitHub data seamlessly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published