react-async-script-loader
react-async-script-loader copied to clipboard
Attributes for script element
Some of the third party social libraries require locale attribute to be set which would then set the locale for the widget. Can we have a provision to add attributes to the scripts before it is added to the DOM.
@vishalraj82 Not very familiar with that, any example please?
My use case is including the javascript libraries to include the social media icons on my page. You can have a look at the documentation links below:
- https://developers.google.com/+/web/api/javascript
- https://developer.linkedin.com/docs/getting-started-js-sdk
- https://dev.twitter.com/web/javascript/loading