Re:Show HN: LoadJS – A tiny async loader for modern browsers
by King-Aaron on Thursday May 19, 2016 @03:28AM
(#11728619)
But what if you want to load four hundred dependant scripts on each pageload? :(
[ Parent
| on HN ]
Re:Show HN: LoadJS – A tiny async loader for modern browsers
by romanovcode on Thursday May 19, 2016 @10:25AM
(#11730427)
1. If you need four hundred dependant scripts to load a page you're doing something wrong.
2. Why can't you just use <script async src="/js/script.js"></script> and be done with it in the first place?
Re:Show HN: LoadJS – A tiny async loader for modern browsers
by michaelmior on Saturday May 21, 2016 @12:23AM
(#11743193)
Because async doesn't do what you think it does.
https://www.stevesouders.com/blog/2012/01/13/javascript-perf...