Exploiting a react app by customElement and is=is pollution
- There is a bug with the hydration, so we can pollute prop of the
<img>tag. - Error message is triggered when the
window.width < 600. Interestingly,location.hashfills thepropsupon displaying the error message. - When the error message is shown and you try to resize your
window.width > 600,<img>is shown again. - Since there is a dehydration bug, prop gets filled with the existing
location.hash, making it possible to add additional attributes on the `` tag.