devinit / devinit/data-hub-spotlights

Add client-side caching of GraphQL requests.

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
40m
Merged PRs (30d)
1

Description

This probably already exists in the most basic format. Look into improving it, especially for subqueries e.g After fetching all the data for a particular indicator, if a user then wants to see a subset of that same data relating to a specific district, don't run the query again. Instead, fetch from the cached results.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the client-side GraphQL request and caching implementation, then trace the flow for fetching an indicator and a district subset. Verify whether the subset request repeats the network query; done means matching subset data is served from cached results without another request.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.