Live data from Hacker News

MS Teams Switches from AngularJS to React, Ditches Electron.

twitter.com

51–60 of 73 posts

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

#51
post #39
post #33

Earlier quoted context omitted.

This (video, specifically) is more likely a codec issue, and perhaps lack of support (or nonexistence of) for hardware accel paths in it on your hardware.

I'd also like to see more info on this, Teams will consistently bring a quite powerful laptop to it's knees. Posting something to chat while in a meeting will take 5-10 seconds, i have never seen it work instantaneously.

re: posting to a chat I suspect it is routed through sharepoint for good and ill. Different set of tradeoffs. FWIW i've never seen it quite that laggy, but have noticed before.

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

#52
post #25

The linked tweet says that they're switching away from Angular, not AngularJS. These are two entirely different frameworks. https://en.wikipedia.org/wiki/Angular_(web_framework)#Differ...

"AngularJS" is more commonly specified as "Angular 1" these days. Without specifying 1 it usually means the latest version of "Angular" which started with only 2+

That is news to me and I used to use Angular a lot. (angular.js 1.3 - 1.5 and Angular 2, 4, 5, 6, 7 and 8 I think.)

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

#53
post #49

Like many in that thread, I'm wondering how WebView2 will work on Linux or Mac. Will it be a PWA or will they build a native shell around native web views for each platform?

Apparently, Microsoft is looking to port WebView2 to both macOS and Linux: https://github.com/MicrosoftEdge/WebView2Feedback/issues/131... https://github.com/MicrosoftEdge/WebView2Feedback/issues/645

Thank you for digging into that! I've been out of touch with Microsoft tech for a while.

I wonder what form a WebView2 would take on macOS and Linux. Some of the commenters on that issue mentioned that they were interested in using it with MAUI/.NET [0] but they could even produce a lower level, C++ component for interop with other environments, which would be pretty interesting.

If I could build small, fast desktop cross platform apps with just .NET though, I'd still be interested.

[0] https://github.com/dotnet/maui

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

#54
UI wise one of the worst apps I’ve had the misfortune of using. Buggy (ticks for mono space text never work first time), really slow, like 300 baud modem typing experience on a laptop that otherwise has no problems, confusing UI, teams/chat/activity I never know where to go. Also it often crashes entirely. I really hope this change clears up some of these problems.

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

#55
post #13

Earlier quoted context omitted.

This. Also, my Teams is _really_ slow. When I, during a video meeting, decide to paste my clipboard into the chat to share an URI, it takes upwards of 10 seconds from when I first push the chat button to it having loaded, and having loaded the input field to having sent the message. It is the same when loading a chat with a new person. It is just _slow_. Thankfully it is weekend now, so I have two full days before re…

Not forgetting to mention Teams is a memory guzzler Just boot it up and puff, 500MB gone into oblivion

Was that the fault of Teams or maybe because of Electron itself using gobs and gobs of RAM?

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

#56

"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

[deleted]

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

#57
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.

Don't they own GitHub which employs most of Electron's contributors?

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

#58

Earlier quoted context omitted.

> 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.

Don't they own GitHub which employs most of Electron's contributors?

The community around Electron still has specific expectations. With an actual framework of their own they can safely make maintaining compatibility with the APIs their products use a top priority and also introduce questionable and Windows-specific things which probably aren't welcome in Electron.

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

#59

Earlier quoted context omitted.

When even Microsoft isn't writing native desktop apps anymore, you know it's dead.

Is that why MS Teams is so glitchy? I really wish companies don't abandon native.

I believe companies are abandoning native because Electron lets them reuse the same code and the same developers they employ for the web and also because there is no cross-platform GUI toolkit good enough. Qt could be such a toolkit but you can only choose between very expensive and GPL, and you probably wouldn't even have the GPL version if the company behind wasn't forced to maintain it.

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

#60
post #12

"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

It is not switching from Angular 2+. It truly is still AngularJS. Very different and an incredible leap.

This makes sense. Thanks.
Post reply on HN