hoplon

2023-10-26T20:40:26.245679Z

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

🍻 5
👏 2
2023-10-26T20:48:01.658129Z

That was amazing, I asked some questions and then he told me it was already done 😅

🤯 2
borkdude 2023-10-26T21:12:31.681459Z

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
micha 2023-10-26T21:14:50.820259Z

measured in parentheses per second?

😂 2
borkdude 2023-10-26T21:15:34.189089Z

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

2023-10-26T23:35:48.236019Z

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

2023-10-26T23:36:24.447229Z

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

1