←back to thread

446 points talboren | 4 comments | | HN request time: 0s | source
Show context
adithyassekhar ◴[] No.45040524[source]
This thread has really opened my eyes to how much the world hates react developers, I am one.

Unrealistic timelines, implementing what should be backend logic in frontend, there's a bunch of ways SPA's tend to be a trap. Was react a bad idea? Can anyone point to a single well made react app?

replies(13): >>45040699 #>>45040711 #>>45040798 #>>45040947 #>>45041164 #>>45041374 #>>45041377 #>>45041379 #>>45041735 #>>45043250 #>>45043659 #>>45047956 #>>45050341 #
1. kccqzy ◴[] No.45041164[source]
React was not a bad idea. SPA's tend to be a bad idea. React is just a tool to make SPA's easier to write.
replies(1): >>45044101 #
2. bn-l ◴[] No.45044101[source]
React is a terrible idea. Everything about it is garbage. The api. State. How they do rendering. The “vdom”. It’s unnecessarily complicated and Byzantine. Like it was designed by someone trying to bill a large company many hours.

Svelte is ok. It could have been great but the api for their version of observables is a disaster (which I hope they eventually fix). Sveltekit is half baked and convoluted and I strongly advise not touching it.

replies(1): >>45044630 #
3. kccqzy ◴[] No.45044630[source]
React is a good idea compared to having to do SPA's without it. Try doing a SPA with only jQuery.

VDOM is also a good idea that simplifies the mental model tremendously. Of course these days we can do better than a VDOM. Svelte in fact doesn't use a VDOM. You can say that VDOM is a terrible idea in comparison with Svelte, but that's just anachronistic.

replies(1): >>45050075 #
4. guappa ◴[] No.45050075{3}[source]
but SPA are a terrible idea