Challenge: GitHub User Search App
Explore how to create a GitHub User Search Tool using React Query to fetch and display user profiles. Learn to manage loading, error, and success states clearly, implement caching for instant repeated searches, and reset the app state with a Clear button to enhance user experience.
We'll cover the following...
We'll cover the following...
Problem statement
You’re tasked to build a GitHub User Search Tool for your company’s developer dashboard. The app must let users type a GitHub username, fetch the corresponding user’s profile information (name, bio, followers, email), and display it clearly on the screen.
The product team requires the following:
Repeated searches for the same user should load instantly — served from React Query’s ...