rsnext/errors/amp-bind-jsx-alt.md
JJ Kasper aac50e4501
Add error message for AMP bind syntax (#6865)
* Add error message for AMP bind syntax

* Fix custom AMP scripts getting dropped

* Add data.js to package.json to include it
in releases
2019-04-02 17:32:07 -05:00

421 B

AMP Bind JSX Error

Why This Error Occurred

Somewhere you used [prop]='something' syntax which is not allowed in JSX.

Possible Ways to Fix It

Instead you can use data-amp-bind-prop='something' which is a valid AMP alternative