React 16.4.2 and AmpHelpers.Action
Closed this issue · 3 comments
harmony7 commented
ReactDOM 16.4.2 (released yesterday) made a change that sanitizes unknown attribute names and drops those attributes outright. So the workaround that AmpHelpers.Action
uses does not work anymore.
Not sure how you'd work around this, just putting it out there. I reverted to ReactDOM 16.4.1 for now.
antonybudianto commented
Having this issue too, for now I use:
<h1 data-amp-bind-text="heading.text">{defaultHeading.text}</h1>
nahushf commented
Was facing the same problem both in Action and Bind components. @antonybudianto's solution worked for me.
dfrankland commented
Should work starting with version 3.1.0