Microsoft Teams 2.0 will use half the memory, ditching Electron for Edge Webview2 – Tom Talks
Credit to Brad sams for the first report on this, along with the announcement of Windows 11 today, Rish tandon, CVP Engineering for Microsoft teams, posted on twitter on changes to the architecture of Microsoft Teams. This gave a lot of useful information on what is to come.
- Microsoft Teams moves away from Electron for Edge Webview2
- Angular is gone. Teams is now 100% on reactjs
- Teams also relies on apollo graphql
- “Teams 2.0”, a name for Rish in his tweet, but I suspect this is not an actual product name / version, launches with Windows 11 and consumer accounts, then commercial will change to the same architecture
- Teams / Microsoft will continue to contribute to the apollo, graphql, reactjs, chrome projects
So what does all of this mean?
If the details aren’t your thing, the bottom line is that Teams is moving towards a better, more Microsoft-controlled technology stack, which means a better and better customer experience. If you want the detail, read on….
Electron uses Chromium for rendering, and the behavior of Chromium is to sense the amount of available system memory and use enough of that memory to optimize the rendering experience. If other applications or services report that they require system memory, Chromium will cede memory to those processes. This counts a lot less on high-end PCs with a lot of RAM, but since you get less capable machines with less RAM, for example often the choice in education to go for an aggressive price, performance can really suffer. .
Beyond just memory usage, Edge Webview2 has other benefits
What is Edge Webview2?
If an application is written in what is called “Evergreen distribution mode”, the WebView2 runtime is updated automatically, so the developer does not need to manage it.
All applications that use the Evergreen distribution mode use a shared copy of Evergreen WebView2 Runtime, which means that it does not need to be distributed by every application, which reduces the size of the application, which means a smaller app to download and update.
Microsoft was push Edge WebView2 Runtime to PCs with Microsoft 365 business applications, WebView2 is already operated by the Outlook team in OWA Powered Experiences (OPX)
Windows 11 / Teams consumer version first
At the Windows 11 launch event today, we saw that Teams will be integrated with Windows. This will be the Teams consumer and it will be the first customer to take advantage of Edge Webview2. Later, the enterprise version of the teams will switch from Electron to Edge Webview2
Stay tuned to the blog to learn more about the new Teams client as it rolls out.