Live data from Hacker News

MS Teams Switches from AngularJS to React, Ditches Electron.

twitter.com

61–70 of 73 posts

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

#61
post #52
post #25

Earlier quoted context omitted.

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

Perhaps it depends on location/ type of environment or something. When I see job postings they seem to mention AngularJS 1.x or as 1 specifically. However the ones for Angular2+ don't really mention to mention that clearly. Perhaps your experience has been different .

[1] https://www.ziprecruiter.com/c/Capgemini/Job/Senior-Software...

[2] https://www.ziprecruiter.com/c/CyberCoders/Job/Lead-Programm...

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

#62
post #5

I hope this also takes care of the battery life issue. Teams video meetings will take my 8 hour battery life, and suck it all down in under an hour. Zoom would not even put a dent in my battery any more than me doing my regular work.

I doubt the UI framework has much to say about video chat performance

An UI framework well may have or lack support for hardware acceleration (video encoding/decoding acceleration in particular) or have it incompatible with particular video card models.

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

#63
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+

In my circles “Angular” always means new Angular, while old Angular “1” is called AngularJS.

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

#64
post #40

Earlier quoted context omitted.

It's like .Net Framework and .Net Core. It looks the same but Framework was closed source iirc and Core is open source and newer.

And then we have .net 5, which is dotnet core, but they've dropped the 'core' part

Don’t forget .NET Standard. There’s also Xamarin’s Mono flavor, which attempts to implement Framework’s API.

Yeah, it’s a mess. Just remember that .NET 5 is a significant break from legacy and the future.

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

#65

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.

The Office suite is no less glitchy.

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

#66

"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

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

Well, it does make me wonder. Going from Angular or AngularJS to React is basically rewriting the front-end - also conceptually in regard to React immutability concept.

On the other hand, they have already WebView for Blazor and they need Teams to be cross-platform, also for Linux.

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

#67

Earlier quoted context omitted.

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.

I can understand if MS Teams was some indie dev. Surely MS can just hire more developers?

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

#68

Earlier quoted context omitted.

I doubt the UI framework has much to say about video chat performance

An UI framework well may have or lack support for hardware acceleration (video encoding/decoding acceleration in particular) or have it incompatible with particular video card models.

AngularJS and React are both web-based; the web browser itself determines the video technology available

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

#69
post #20

Earlier quoted context omitted.

Is integrating auto-update functionality not standard part of distributed application tooling by now ?

Sure, if the user has proper permissions. But when you are a small app running on a corporate citrix, APP-V, or whatever locked-down environment you are out of luck. You will be able to update the app running inside electron without much of an issue. But you won't be able to download and execute a new exe.

Enterprise deployment setups have a lot of their own flavour. However the ownership is on dedicated IT dept to keep the apps updated on your system and rest of the fleet.

Microsoft has the network to train, enable and get IT to administer these kind changes. They are after all able to get windows patches in fairly regularly at higher frequency than ever before in windows 10.

Sure there were will be some small minority like still active XP users , you sell extended support or whatever to either enable them or you can stop support.

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

#70

Earlier quoted context omitted.

An UI framework well may have or lack support for hardware acceleration (video encoding/decoding acceleration in particular) or have it incompatible with particular video card models.

AngularJS and React are both web-based; the web browser itself determines the video technology available

Sure, but the Edge engine, although being essentially the same as the Chromium engine behind Electron, can be built with different flags, have different set of accelerations enabled and probably even be integrated with DirectShow (and ActiveX maybe?). I don't know if it is, just speculating.
Post reply on HN