leozdgao / react-async-script-loader

A decorator for script lazy loading on react component
MIT License
258 stars 55 forks source link

support for <script crossorigin> attribute? #24

Open stevula opened 6 years ago

stevula commented 6 years ago

Sorry if this duplicates #22, but I didn't want to hijack that issue in case there is a different solution for crossorigin. I might be able to add this myself but I just wanted to check if there was a good reason not to support script attributes in this library.