bluelearn-open-source / bluelearn-open-source/blue-forest

Do Not fetch leaderboard again and again

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
TypeScript
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

try to use some stage-management lib such at react context api or react-query to cache leaderboard and not fetch on every time it is shown
currently it is fetching from api every time we switch tabs

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace the leaderboard API request and the component or entry point that runs when tabs switch; the issue does not name specific files or tests. Determine how to retain the fetched leaderboard while changing tabs, then verify that revisiting the leaderboard does not trigger another request.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
frontend, performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.