Live data from Hacker News

MS Teams Switches from AngularJS to React, Ditches Electron.

twitter.com

1–10 of 73 posts

Re: MS Teams Switches from AngularJS to React, Ditches Electron.

#6
Wonder why WebView2 would be any better than Electron? They are both Chromium based and if kept ups to date should be almost identical, would it just be saving disk space and sharing some memory since it would be using a single install of the browser engine?

Re: MS Teams Switches from AngularJS to React, Ditches Electron.

#7
post #6

Wonder why WebView2 would be any better than Electron? They are both Chromium based and if kept ups to date should be almost identical, would it just be saving disk space and sharing some memory since it would be using a single install of the browser engine?

Shouldn’t it also help significantly with memory usage, if the user is also browsing the web or using other WebView2 apps?

Re: MS Teams Switches from AngularJS to React, Ditches Electron.

#8
"Ditching Electron" is a clickbait - it doesn't go native, just switches to their own clone which seems very reasonable to me as long as they are capable and willing of maintaining it.

Switching from Angular to React seems weird. What for? AFAIK the only way React is better is there are more developers familiar with it. I wonder if they considered switching to PHP instead /s

Re: MS Teams Switches from AngularJS to React, Ditches Electron.

#9
post #6

Wonder why WebView2 would be any better than Electron? They are both Chromium based and if kept ups to date should be almost identical, would it just be saving disk space and sharing some memory since it would be using a single install of the browser engine?

> Wonder why WebView2 would be any better than Electron?

Because its under their own control. Using a platform you control is great if you actually have the resources to maintain it.

Re: MS Teams Switches from AngularJS to React, Ditches Electron.

#10
post #6

Wonder why WebView2 would be any better than Electron? They are both Chromium based and if kept ups to date should be almost identical, would it just be saving disk space and sharing some memory since it would be using a single install of the browser engine?

On a single PC it probably wouldn’t matter that much, but if distributed at scale, the savings in bandwidth could be enormous. Electron is quite large after all.

Teams shipped with incredibly outdated versions of Electron for a very long time.

Post reply on HN