Automattic / Automattic/wc-synchrotron

fetch-data: Update old fetch data automatically.

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Set up a time-based refresh rate of fetch data to keep it current.
Also, perhaps employ the window focus/blur events to avoid polling while the browser isn't in focus.

Contributor guide

Open the contributing guide

Research direction

Start by locating the fetch-data implementation and the browser lifecycle handling it uses. Determine the required refresh interval and how focus/blur should affect polling; done means stale fetch data refreshes automatically while background polling is avoided when the browser is unfocused.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
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.