A highly customizable React top-loading bar component with hook-based, ref-based, and state-based control patterns.
Agent Success
Agent success rate when using this tile
64%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.25x
Baseline
Agent success rate without this tile
51%
Build a React dashboard that displays user information with loading indicators controlled through context.
Create a simple React dashboard with two sections that fetch data independently. Each section should control a shared top loading bar without prop drilling, using a context-based approach.
Your application should include:
App Component - Root component that:
User List Section - A component that:
Posts Section - A component that:
Use the JSONPlaceholder API:
https://jsonplaceholder.typicode.com/usershttps://jsonplaceholder.typicode.com/posts@generates
Provides the top loading bar component with context-based control for managing loading states across the component tree.
@satisfied-by
tessl i tessl/npm-react-top-loading-bar@3.0.0evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10