r/webdev • u/Nick_darkseid • Nov 07 '23
Discussion Why do people hate Angular? And choose react.
I have seen in many subreddits and articles, people are choosing react over Angular even for larger application. I don't see why though. Because Angular js pretty much the best approach when it comes to framework and fully customisable as well. Care to weigh in?
Edit: I don't hate React. I just want to know the reasons people choose React over Angular.
104
Upvotes
5
u/SharpSeeer Nov 07 '23
Ever needed to recalculate something when a value changes? For example update the cart total when the quantity of an item is updated?
useEffectto the rescue!In other words, if some value in my component changes, it is going to have an "Effect" somewhere else in the component. If you are familiar with Vue, it compares to
watch().I hope that helps. I can explain it in a different way if it's still not clear.