3 ms·
A few years ago, I co-wrote a book on third-party scripting that includes best practices for loading JavaScript applications on other people's websites: https:/
by bentlegen 10y ago
A few years ago, I co-wrote a book on third-party scripting that includes best practices for loading JavaScript applications on other people's websites: https://manning.com/vinegar https://manning.com/vinegar
It definitely includes a discussion on why document.write is undesirable, and suggests async, defer, and other alternatives instead.
/shameless plug