Fork me on GitHub
#hoplon
<
2023-10-26
>
alandipert20:10:26

big news, borkdude just ported Javelin to scittle & nbb: https://twitter.com/borkdude/status/1717619707392491753

šŸ‘ 3
šŸ» 6
mynomoto20:10:01

That was amazing, I asked some questions and then he told me it was already done šŸ˜…

šŸ¤Æ 2
borkdude21:10:31

I'm kind of a hoplon noob, but I've heard about it for the first time probably already 10 years ago. How is performance compared to, say, React?

šŸ‘€ 1
micha21:10:50

measured in parentheses per second?

šŸ˜‚ 2
borkdude21:10:34

hehehe, yeah, how do people actually measure these things :)

alandipert23:10:48

tl;dr ā€¢ problem react solves is needing to necessarily empty out all dom nodes before you add them all back, like if you're syncing an array with a set of elements (like an array to a bunch of todo <li> ā€¢ hoplon solves differently by promoting fine-grained subscriptions to cells. DOM nodes are pooled and reused, no diffing other than clj = inside javelin

alandipert23:10:24

it's basically immediate mode (React) vs. retained mode (Hoplon+Javelin, DOM), in UI speak

clojure-spin 1