Hacker News new | ask | show | jobs
by array_key_first 255 days ago
React has fundamental problems that lead to both:

- horrible performance characteristics

- needless complexity

These are not tradeoffs, these are bugs. We don't gain anything from them.

That's why React introduced a compiler. Because problem 1 is a big deal. But it's not a code problem, it's a React problem. Other tools simply do not have that bug. Which is why the exact same react code can be compiled and run much faster.

1 comments

You haven't described those "fundamental problems" that you call bugs, but I think these are irrelevant for me from a ClojureScript point of view. As an example, immutable data structures mean that equality comparisons are cheap and I can often avoid re-computing and re-rendering huge parts of the tree.

More importantly, I don't have a React performance problem. I don't really need "much faster".

> More importantly, I don't have a React performance problem. I don't really need "much faster".

Sure, but ultimately you're using a library with performance bugs that lead to orders of magnitude more rendering than necessary.

If you don't mind the buggy software, that's fine. It's still buggy.