r/reactjs • • Jun 25 '21

MS Teams switches to react from angularjs

https://twitter.com/rishmsft/status/1408085784016539653
711 Upvotes

113 comments sorted by

View all comments

27

u/careseite Jun 25 '21

https://twitter.com/rishmsft/status/1408103016624889867?s=19

Wanting to build the "best long running react app" is a bold statement to make from the worst performing app i know, especially with competitors such as Spotify (meh) and discord (excellent). I'm not buying it.

13

u/midweekyeti Jun 25 '21

discord kills it. i’m always curious about how they make such a performant app. the UI is always snappy, even in servers with 10k+ users

3

u/MatthewMob Jun 26 '21

Discord posted an article about their migration from Go to Rust on the back-end which gives a lot of insight into their developer culture and technology. Very interesting read.

2

u/midweekyeti Jun 26 '21

yea i’ve read it. verrrry good, cool read. it might be less “savvy” but i’d love a deep dive article about their front end performance stuff. lazy loading, caching, virtualization, state management, React specifics, etc. people often complain about Electron being slow and resource heavy. whatever they are doing on the front end (combined with the back end) let’s them avoid that common pitfall.

6

u/drckeberger Jun 25 '21

'worst performing app' is also such an overstatement.

3

u/careseite Jun 25 '21 edited Jun 26 '21

is it? I don't know/(have to) use anything else that has such consistent performance issues.

edit: actually new reddit is about as bad actually. but thats less of an issue as you can just opt out and it doesnt run the entire day anyways

3

u/IHeartMustard Jun 26 '21

Not to mention the litany of absurd bugs. Not just like, oh that button looks a bit off. I had months where Teams would just suddenly turn into this static noise mess. It looked like analog TV static in a way, and would just cover the entire interface for a while, sometimes like 10 seconds. Then would keep happening each time I changed to a new "view". That was only the worst one, there have been and are so many major performance hiccups and random failures of all kinds. It's been getting better, but slowly. How did it even end up in such a bad state that it's taken so long just to get where they are now, which still can't compare to other tools that do the same job, even though in a feature comparison table, it can tick most of the same boxes? If it was just a few occasional things, or like, edge case bugs that you wouldn't encounter every day, I could forgive that. Software is complicated. But teams, I am very sorry to say because of how prevalent it has become (congratulations to Microsoft for yet another successful use of monopoly tactics over fair competition), is surprisingly bad for what it is. I wanted to like it, beacuse at my last company I knew I was gonna be stuck with it for a while, but so many things that one could just take for granted in tools like slack were broken in teams, in whole or in part. Code formatting (or rather lack of it), even plain code copy/paste, holy shit, don't even get me started.

Feels good to get that off my chest. Please ignore me, I'm venting years worth of bitter and imputent frustration.

2

u/noXi0uz Jun 26 '21

I mean, we now know that teams is built on AngularJS, so bugs and performance issues shouldn't be a surprise.

1

u/fzammetti Jun 26 '21

I don't know if it's THE worst... but it's in the running. I don't think it's an understatement at all.

1

u/vazhifarer Jun 26 '21

The issues with Teams is hardly due to the tech stack...

1

u/0xnoob Jun 26 '21

I don't think spotify is using react, at least the web version isn't.

1

u/careseite Jun 27 '21

what makes you say that? you can literally open the react devtools and inspect all components