Show HN: Vertex.js – A 1kloc SPA Framework
25 points| LukeB42 | 10 hours ago |lukeb42.github.io
vertex.js is a single, self-contained file with no build step and no dependencies.
Also exhibits the curious quality of being faster than over a decade of engineering at Facebook in some cases: https://files.catbox.moe/sqei0d.png
DiabloD3|7 hours ago
By my own extensive testing[1], it's optimal at minimum 18px, you're at 13.5px.
[1]: https://github.com/Diablo-D3/dotfiles/blob/master/fontsizes....
chrismorgan|4 hours ago
(“Courier”, as provided by macOS, is fine. But Courier New is irredeemably bad.)
Concerning font-family declarations, if you’re doing something like `"Courier New", Courier, monospace`—please just write `monospace`.
(I’m not going to address the font size.)
LukeB42|7 hours ago
6r17|6 hours ago
LukeB42|6 hours ago
We could remove 3kb by removing the router but that's not gonna happen. You're more than welcome to minify+brotli it yourself if you use vertex.js in production.
jaen|6 hours ago
What's the use case for mixing them?
LukeB42|6 hours ago
You can read https://lukeb42.github.io/vertex-interop.html for more info.
hirako2000|4 hours ago
leptons|2 hours ago
Yes, and every other flavor too. "Developers" isn't a single hive-mind entity, and there are many different purposes for javascript, and many different kinds of systems where javascript can be used.
LukeB42|4 hours ago
unknown|3 hours ago
[deleted]
karmakaze|3 hours ago
redmanhao|6 hours ago
[deleted]