EDIT: As I wrote this, someone deployed a server-side rendered version of the site. Now the site is perfect. :) This site appears to load ~350 KB of JavaScript, which I think is a bit excessive for a "lite" text-only site. From the sourcemaps, I found a long list of libraries, including: * react * redux * redux-thunk * react-router * axios * base64-js (why not window.atob/btoa?) * core-js * fbjs * react-hot-loader (s…
FWIW, base64-js and similar libraries are still needed (though probably not in this case...) because window.btoa() only works on latin1 ASCII strings. Try giving it some arbitrary UTF-8: btoa("\ud83d\ude0b") -> Uncaught DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range. (Edit: apparently HN doesn't either; changed to \u...)
For what? This is a non-interactive text-only website. It shouldn't need anything beside HTML and CSS.