Hacker News new | ask | show | jobs
by maxpert 3201 days ago
Thanks for your response, I totally buy the argument of stateful components (believe me I have seen worst of the worst bugs due to these issues), and bringing down time to learn concept. But 300LOC, Woah! you got my attention! I think the thing that derived React was ecosystem around it (which I think FB is going to loose pretty soon), and most libraries including DIO.js (excluding Vue.js) don't have much of it.

For the comparison example you did, don't post it anywhere officially :P because I can use babel with jsx preset (I am sure hyperapp is using too) and then do the stylish lambdas to make code look cleaner. That would be a fair comparison.

1 comments

Sorry, I am sure you could use JSX with DIO.js too. To be honest, I wasn't even looking at the JSX. I grabbed it from where I found it. The takeaway is not JSX, but the fact that they use classes and that's all.

Personally, if I was going to go with this kind of architecture, I'd choose Preact (or React if I can't help it) to tap into the massive React ecosystem.