3 ms·
What's up with the code comparisons under "Complex components"? Why does the React version include so much more stuff than the Nue version? Does Nue automatical
by rustc 1y ago
What's up with the code comparisons under "Complex components"? Why does the React version include so much more stuff than the Nue version? Does Nue automatically inject all those features in your app with just a "card" class on the top level element? The React version has full styling, icons, sortable columns, etc.
- tipiirai 1y agoThis is a prime example of how complexity grows and how simple components remain simple. Just look for the button example: the one button being larger than the entire app. Consider going on from there. Think legos: the 2/4/8 units scale, while the more complex units struggle to fit together.
- pier25 1y agoI don't love or use React but these examples are disingenuous. It sounds like you're arguing that "React devs don't know how to manage complexity" which is a completely separate issue than React itself.
- tipiirai 1y agoI definitely want the examples to be exact. How to fix exactly?
- teg4n_ 1y agoI mean even basic stuff is different. You have thead and tbody in the react example but not in the hyper example. It adds number of lines differential which I guess is supposed to be impressive but when I see stuff like that it makes me think the whole comparison is worthless since it can't be trusted.
- pier25 1y agoOnly use 1:1 markup/features instead of adding those "modern react" examples.
- Timon3 1y agoYou ask this every time, but never incorporate the feedback. Why even bother?
- tipiirai 1y agoWhere is the feedback?
- Timon3 1y agoI'm not playing this game with you, people can go look at previous posts for your software and decide themselves. I'll just leave one great example - you keep saying that JS can't handle more than 150k records, when people explained to you that it's simply due to the syntax you've used: https://news.ycombinator.com/item?id=43546118 https://news.ycombinator.com/item?id=43546118
- rustc 1y agoYour table does not have the same features as the React one, so this comparison does not make any sense.
- tipiirai 1y agoWhat's the difference? I can easily add the missing peaces.
- deleted 1y ago[deleted]
- rustc 1y agoDid you run the React code you wrote in the blog post? It has sorting, icons, filtering, typescript types.
- tipiirai 1y agoYes. The React example restricts to sorting and filtering only
- evertedsphere 1y agoyou could also remove those pieces from the react examples
- jonplackett 1y agoThese examples are deliberately misleading. The react code does not need to look like this mess.
- SebastianKra 1y agoThis happens every single time this framework is posted. - The post makes some outlandish, to-good-to-be-true claims. - It traction because A: it mentions React and B: who doesn’t sometimes wish development could be simpler. - Readers call out the claims for being misleading or outright lies. - The author deflects with “I could easily add that”, “you don’t need that”, or “keyed lists are unnecessary”[^1]. [^1]: https://news.ycombinator.com/item?id=37735353 https://news.ycombinator.com/item?id=37735353
- 90s_dev 1y agoThat isn't necessarily deflecting if he can back it up. That said, I would have liked an answer to your question: https://news.ycombinator.com/item?id=37735475 https://news.ycombinator.com/item?id=37735475 ...and still would.