Skip to content

Update script tags to take any attribute.

Compare
Choose a tag to compare
@xavierelopez xavierelopez released this 11 Apr 20:18
· 7 commits to master since this release

Now you can add any attribute to script tags. For example:

<HTMLDocument scripts={[{ src: '/scripts/main.js', crossOrigin: 'anonymous' }]}/>