Will it be a PWA or will they build a native shell around native web views for each platform?
MS Teams Switches from AngularJS to React, Ditches Electron.
31–40 of 73 posts
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#32"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.
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#33I 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.
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#34Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#35The 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...
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#36Interesting that they didn't go with Blazor.
WebAssembly (and by extension Blazor) is for people who want to keep writing in their preferred (non-Javascript) language, but have to target the web. Electron/Webview2 is for people who want to keep writing Javascript, but have to target the desktop. The two tools are for opposite groups of people.
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#37The 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...
That's very confusing. I remember when I was using the original AngularJS everyone called it "Angular".
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#38Earlier quoted context omitted.
I'm using WebView2 on a project at the moment, inside a WPF (dotnet core) app. One thing I've been having some fun with is the ability to host a REST dotnet core API inside the same application and then calling Javascript functions/updating the UI on an HTTP request. It's very handy if you have multiple applications on the same machine (or the same application on multiple machines on a LAN) and you want them to talk…
> I couldn't find a way to build a normal Windows installer with Electron (if there is please let me know) https://www.electronforge.io/config/makers - WiX MSI - Squirrel.Windows Are your options here. I had more luck with Squirrel than WiX. With auto-update support.
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#39I 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.
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.
Posting something to chat while in a meeting will take 5-10 seconds, i have never seen it work instantaneously.
Re: MS Teams Switches from AngularJS to React, Ditches Electron.
#40Earlier quoted context omitted.
That's very confusing. I remember when I was using the original AngularJS everyone called it "Angular".
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.