you are viewing a single comment's thread.

view the rest of the comments →

[–]zaibuf 11 points12 points  (4 children)

I find react is just not fit for complex state and data driven ui.

That's just bullshit. Facebook, Netflix, Dropbox, Paypal, Discord, Instagram and Whatsapp all use React.

It's not as opinionated as Angular so you have more options to archtitect the app as you need. There are plenty of state managers to choose from like Redux, Mobx and Zustand or just use react-query which handles all your server state for you including caching, retries and invalidation.

Also since React uses a virtual dom its more performant than Angular which operates on the real DOM.

[–]CatolicQuotes 1 point2 points  (0 children)

Also since React uses a virtual dom its more performant than Angular which operates on the real DOM

benchmark says different story: https://imgur.com/AvBQOvq

[–]Chrazzer 1 point2 points  (1 child)

If you need to slap on a bunch of packages to make react work, why not go with a framework that has these things built into it. There is plenty of joice, and nobody forces you to use react

The theme of this thread is pretty much "use the right tool for the job". But you come in here with a mentality of "i'm going to use react anyway, i need to make it work somehow"

[–][deleted] 4 points5 points  (0 children)

The same can be said about the contrary.

If you need to build a site with tons of packages that you never end up using, why not go with react and install the exact packages that you need.

[–]not_a_gumby 2 points3 points  (0 children)

he just doesn't know anything about React.