Skip to content

FR/Bug: amp-state should not be required by amp-bind #9136

@gilbox

Description

@gilbox

What's the issue?

If you use amp-bind without amp-state you get the error

The tag 'amp-state' is missing or incorrect, but required by 'amp-bind extension .js script'.

... but this is a silly requirement since it's legit to use amp-bind without amp-state, we do that here, for example.

Currently we work around the error by including an empty amp-state

What browsers are affected?

tested on chrome

Which AMP version is affected?

Powered by AMP ⚡ HTML – Version 1493855940942

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions