Live data from Hacker News

Inferno: A fast, React-like JavaScript library for building UIs

github.com

41–50 of 128 posts

Re: Inferno: A fast, React-like JavaScript library for building UIs

#42

Still feel like we're talking past each other a bit here. Some portion of your UI logic is going to have to translate that data into the corresponding UI output, whether it be HTML elements or Android Views or iOS NSWhateverThingsTheyUse. With a virtual DOM, that's a two step process: your component is responsible for doing the "data -> desired UI structure" translation, and then the VDOM layer is responsible for tra…

Interesting. If you go to this user's comments, their other comments are from reddit as well. Possible way to farm karma by picking the top voted comment on reddit and reposting it onto HN?

See: https://news.ycombinator.com/item?id=11837249

https://www.reddit.com/r/climateskeptics/comments/4kc1m8/por...

Re: Inferno: A fast, React-like JavaScript library for building UIs

#43

Shameless plug, I know, but I bet Inferno doesn't come close to my latest framework when it comes to the notorious task of writing a TODO app: https://github.com/ErikWittern/TODOit

i saw this come up yesterday on reddit and asked myself if this was joke. 70 lines of code is a lot of code? i don't get it :/

I'm asking this as the author of domvm [1] and a 60 LOC todo implementation [2] that also exposes a usable API.

[1] https://github.com/leeoniya/domvm

[2] https://leeoniya.github.io/domvm/demos/todo-alt.html

Re: Inferno: A fast, React-like JavaScript library for building UIs

#44

Shameless plug, I know, but I bet Inferno doesn't come close to my latest framework when it comes to the notorious task of writing a TODO app: https://github.com/ErikWittern/TODOit

i saw this come up yesterday on reddit and asked myself if this was joke. 70 lines of code is a lot of code? i don't get it :/ I'm asking this as the author of domvm [1] and a 60 LOC todo implementation [2] that also exposes a usable API. [1] https://github.com/leeoniya/domvm [2] https://leeoniya.github.io/domvm/demos/todo-alt.html

Everything is relative. Like 60 lines of code (especially as compared to a single one). Or humor.

Re: Inferno: A fast, React-like JavaScript library for building UIs

#45
post #42

Still feel like we're talking past each other a bit here. Some portion of your UI logic is going to have to translate that data into the corresponding UI output, whether it be HTML elements or Android Views or iOS NSWhateverThingsTheyUse. With a virtual DOM, that's a two step process: your component is responsible for doing the "data -> desired UI structure" translation, and then the VDOM layer is responsible for tra…

Interesting. If you go to this user's comments, their other comments are from reddit as well. Possible way to farm karma by picking the top voted comment on reddit and reposting it onto HN? See: https://news.ycombinator.com/item?id=11837249 https://www.reddit.com/r/climateskeptics/comments/4kc1m8/por...

I guess? What's weird is that while my comment is decently written, it's not like it particularly racked up much karma on Reddit to begin with (a whopping 3 points atm), the topic of VDOM management is not likely to be a huge hotbed of upvotes anyway, and the fact that I was replying to someone else to begin with means that just dropping it in here obviously makes it read very awkwardly.

Strange.

Re: Inferno: A fast, React-like JavaScript library for building UIs

#47
I'm trying hard to figure out why someone want to use something like this or React, when vanilla HTML, CSS and JavaScript seems much easier and more performant. The only thing I can think of is that appendChild is a bit tedious, but createClass seems even more boilerplate.
Post reply on HN