Created
June 15, 2017 23:26
-
-
Save sscotth/67dd8a293b9523d9318e279d7d8cb03a to your computer and use it in GitHub Desktop.
Load Script From Url
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const src = 'https://cdn.jsdelivr.net/react/latest/react.min.js' | |
const script = document.createElement('script') | |
script.src = src | |
document.body.appendChild(script) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment