3 ms·
Adding a runtime dependency on some random webserver seems bad? It could be fixed by using reliable CDN's though.
by skybrian 3y ago
Adding a runtime dependency on some random webserver seems bad? It could be fixed by using reliable CDN's though.
- krapp 3y agoYou don't have a runtime dependency if you just download the js to your server and write some script tags. You do have to do things manually and locally but you'd be surprised how robust that can be. Just vendoring scripts and not automating builds would solve like 99% of modern JS problems. The benefit of CDNs used to be that you could cache a library for use on multiple domains but I don't think that works anymore.
- skybrian 3y agoIt reminds me of header-only C++ libraries, or downloading jar files manually back before Java had package managers. These don't seem bad for dependency-free libraries, but they won't warn you about incompatible package dependencies.