ampproject / ampproject/amphtml
Runtime: IntersectionObserver-based loader
Open
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
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