3 ms·
tl;dr Yes. Originally it was just hyperapp, but many people asked for only the virtual DOM, so picodom was born.
by jbucaran 9y ago
tl;dr Yes.
Originally it was just hyperapp, but many people asked for only the virtual DOM, so picodom was born.
- pakx 9y agoThx. Hadn't looked at timelines, and assumed it was the other way. Great job w/ hyperapp. Congrats! FWIW I like Elm, and hyperapp seems a delightful port of the TEA idea ... plus for being a js library, with immediate access to JS and DOM. I'll look for examples using 3rd party visual widgets, and animation libraries. That said IMO TEA is only a convenience. What I find supremely empowering about Elm is its type inference/system. If we got that in JS-land I likely wouldn't look at another language for some time to come :)
- jbucaran 9y agoThanks! I love Elm too. Elm is functional programming for the masses! Recently I'm kind of more curious about ClojureScript. That said, you can totally use Flow or TypeScript with hyperapp.
- christophilus 9y agoI'm also really into Clojure/ClojureScript these days. I'm going to look into getting a data-oriented version of either hyperapp or picodom implemented in ClojureScript.
- pakx 9y agoThis is going off-topic, apologies. Yes, of course, re using TypeScript or Flow. However ... I'm not a fan of TypeScript -- if I'm going to use a different "language" (albeit one that's a transpile-able thin veneer over JS) I may as well switch to a language w/ an even better type system. Flow, from the little I know, is closer to what I want -- still JS, but an annotation or "compilation switch" makes everything typecheck.
- jbucaran 9y agoSame here. Flow is great though and you can use it without annotations too, just not as useful. See: http://thejameskyle.com/adopting-flow-and-typescript.html http://thejameskyle.com/adopting-flow-and-typescript.html
- pakx 9y agoHa, funny -- clicking that link leads to a page w/ this message: "This page is unavailable when linked to from news.ycombinator.com. Please find a less toxic place to spend your time." :-) The link works when copy/pasted. Let me read.