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

0

u/[deleted] Jun 25 '21

[deleted]

25

u/pizzzahero Jun 25 '21

I think electron could be part of it, but it’s not the only reason. Discord, Spotify and VSCode all run on Electron and they don’t suffer from the same issues

6

u/ours Jun 25 '21

Perhaps it depends on how bloated the JS/HTML/CSS running in it is.

3

u/midweekyeti Jun 25 '21

i work on a similar style app. i think it’s a factor of tons of things. backend matters a lot (if the APIs are shit the client has to do extra processing/business logic), caching matters a lot too. depending on how much and how cleverly the app holds stuff in memory makes a big difference in performance. lastly it’s probably basic, but easy to get wrong UI stuff. react is great, but there is still plenty of foot-gun potential with needlessly thrashing the DOM, etc