ampproject / ampproject/amphtml

Runtime: IntersectionObserver-based loader

Open
#31,915 1 comment 0 reactions 0 assignees View on GitHub
Stale Type: Feature Request
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

TODO:

- [x] Decide whether to base it on the `intersect-resources` experiment or an alternative route.
- [x] Reimplement applySizeAndMedia
- [x] Reimplement display-observer for pause/resume
- [x] Reimplement ini-load measurement
- [ ] Reimplement resizer
- [x] Deferred builder

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the IntersectionObserver-based loader work described in this issue and identify the existing resizer implementation that remains unchecked. Reimplement the resizer behavior, then verify that the loader's completed checklist items still work and that resizer behavior is covered by the project's relevant tests.

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.