https://en.wikipedia.org/wiki/Angular_(web_framework)#Differ...
https://mobile.twitter.com/rishmsft/status/14081866792952872...
Thankfully it is weekend now, so I have two full days before returning to work and having to use Teams again.
Just boot it up and puff, 500MB gone into oblivion
Posting something to chat while in a meeting will take 5-10 seconds, i have never seen it work instantaneously.
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 to each other.
Also, I couldn't find a way to build a normal Windows installer with Electron (if there is please let me know), but was able to use Wix to build one for my WPF/WebView2 app.
Is the source shareable?
We have an enterprise app that was originally built as a UWP application via Xamarin.Forms (Hot mess, I know. But the decision predates me).
We've been prototyping a rebuild in React and Electron but if we could port into WebView2 and reuse a lot of our existing business logic with a port into a local api layer a lot of time could be saved.
I'm a web guy, so not sure how the nuts&bolts of this would work. Does the WPF app bootstrap a REST API on localhost on startup that is callable?
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.
Because its under their own control. Using a platform you control is great if you actually have the resources to maintain it.
Teams shipped with incredibly outdated versions of Electron for a very long time.
It takes months/years to get all clients updated. By then you are already running on an outdated version.
I like the idea of using a (system-deployed) WebView in general, but this implementation needs more work.
I assume they are probably using React Native through their FluentUI[3]. Would be curious if anyone knows more info on it.
[1] https://github.com/microsoft/PowerToys/tree/fa92f2e581e8c74c...
[2] https://github.com/microsoft/PowerToys/tree/fa92f2e581e8c74c...
[3] https://developer.microsoft.com/en-us/fluentui#/get-started/...
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
On the other hand, they have already WebView for Blazor and they need Teams to be cross-platform, also for Linux.
Because it’s mandated by management.
Will it be a PWA or will they build a native shell around native web views for each platform?
https://github.com/MicrosoftEdge/WebView2Feedback/issues/131... https://github.com/MicrosoftEdge/WebView2Feedback/issues/645
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.
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.