ampproject / ampproject/amphtml

Excluding other extensions when an extension is present

Open
#21,723 10 comments 0 reactions 0 assignees View on GitHub
P3: When Possible Stale Type: Feature Request WG: caching
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Right now we have some extensions that don't work well together. For example when `` and `` works together, the ladder component can affect what the previous component does.
It would be useful to have a feature that only allow one component on a page among a list of mutual exclusive extensions.

@ampproject/wg-caching

Contributor guide

Open the contributing guide

Research direction

Start by reading the amp-skimlink and amp-link-rewrite extension definitions and how the ladder component interacts with them. Trace where extensions are selected or initialized on a page; done means a configured mutual-exclusion list prevents more than one listed extension from affecting the same page without breaking other extensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.