logoalt Hacker News

Show HN: Vertex.js – A 1kloc SPA Framework

25 pointsby LukeB42today at 11:05 AM17 commentsview on HN

Vertex is a 1kloc SPA framework containing everything you need from React, Ractive-Load and jQuery while still being jQuery-compatible.

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


Comments

DiabloD3today at 1:39 PM

I was going to say that font is unreadable, but its Courier New.

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....

show 2 replies
6r17today at 2:16 PM

1kloc is a bit abstract ; it seems you are in a great position to give a true bundled weight ; preact is about 3kb which is my fav for years - good job for the effort and results !

show 1 reply
jaentoday at 2:37 PM

Huh, interesting... why have both React components and Mustache-style templates in the same framework? They perform the same function?

What's the use case for mixing them?

show 1 reply
hirako2000today at 4:34 PM

A bit surprised to see a new framework boasting to ship as UMD. Are developers still using commonjs? I'm sure some continue to CDN inject libraries. But even then ESM is well supported.

show 2 replies
karmakazetoday at 5:47 PM

Annoyingly there's already a framework called Vert.x for JVM but there's also Vert.x Node.js

redmanhaotoday at 2:27 PM

[dead]