Hacker News new | ask | show | jobs
by purple_ducks 2393 days ago
the OP message falls flat when it can't even be bothered to server render.

also, most offensive is the use of 3rd party js hosting. given the tiny size of the 3rd party libraries (relative to 1st party code), add them in to the code from your own site (which you're already bundling up. SMH)

[from jsdelivr.net]

polyfill.min.js (31.8kb/96.8kb) (wire/resource)

url-polyfill.min.js (1.9kb/6.1kb)

react.production.min.js (4.7kb/12.3kb)

react-dom.production.min.js (36kb/116kb)

[from liaison.dev]

bundle.a7c7d78d57.immutable.js (108kb/375kb)

actual website code: https://github.com/liaisonjs/liaison/tree/master/website

2 comments

I don't understand why it is wrong to use CDNs to distribute common libraries.

About the fact that I have used Liaison to build its own website, I agree that it might not be the best choice. :)

For now, Liaison doesn't support server-side rendering, but it is something that could come eventually.

The actual text of the article (not including the table and image) is about 2700 characters long.