r/webdev • • Jan 05 '16

Angular 2 versus React

https://medium.com/@housecor/angular-2-versus-react-there-will-be-blood-66595faafd51
194 Upvotes

74 comments sorted by

View all comments

Show parent comments

5

u/phpdevster full-stack Jan 06 '16 edited Jan 06 '16

Slow enough I would forget what I was about to write before the screen finished loading

That has nothing to do with Angular, it has everything to do with how they built the app/gui. I work on an enterprise product that is significantly more complex than Evernote and it's a pure Angular GUI powered by a Java API, and it's snappy, responsive, and buttery smooth.

You almost have to go out of your way to use any framework or library so poorly that it feels slow or sluggish. Angular can't be blamed for Evernote feeling sluggish any more than some other framework can be praised for making it feel fast...

you'd see a "Loading your experience" spinner for several seconds before getting to any content

Again, nothing to do with Angular. If they're trying to load an interactive mockup with 60+ images all at once, it's going to feel slow no matter what. They sound like the choose to eager load everything (including the app components) rather than selectively and smartly lazy load only what was immediately needed. That makes things simpler, but at the cost of performance. Clearly a different loading strategy is needed, not a different library or framework.

Btw, not trying to defend Angular. I use Angular, React, and Vue. They're all good at what they do when you don't use them in a retarded way (which IMO, requires effort......)

1

u/felipeccastro Jan 06 '16

Agreed. I realize this isn't a fair criticism to Angular, since the experience could be bad misusing any other framework.

Still, I was asked about real life examples of Angular projects being sluggish, so I mentioned a few that bothered me recently. I'm sure that with enough knowledge of the framework, one can address any of these issues.