googlefonts / googlefonts/specimen-skeleton

Animation performance

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
51
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Variable font animations should be made as performant as possible:

- Use requestanimationframe when triggering from JS
- Use Intersection Observer to detect elements in view
- Debounce/throttle?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are identified. Start by locating the JavaScript that triggers variable font animations, then evaluate requestAnimationFrame and Intersection Observer usage along with debouncing or throttling. Done means animations remain correct while performance improves, but the issue does not define a benchmark or acceptance threshold.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.