Tauri uses the OS’s built in webview libraries as opposed to bundling a whole browser engine like electron. It’s still not as good as native in terms of size and speed, but it should be a lot better than electron.
If you’re going to create a desktop app in JS, React Native is better as it can use native UI elements. It does mean that the UI code may differ a bit between platforms, but you can still reuse most of your code between platforms.
Otherwise, C# with Uno Framework or MAUI looks promising for cross-platform dev.
C#
Uno
MAUI
promising
meanwhile microsoft themselves migrate away from that in favor of chromium/electron in Teams, Outlook and whatever else they ship
Microsoft use a lot of different technologies. It’s a large company and generally at big tech companies there’s no company-wide mandate about frontend frameworks/libraries. They use React Native in a bunch of things, including in Office, the Xbox app, and some of the apps that ship with Windows. They have a lot of apps written in C++. They have some Electron apps too. They have web apps using React, some using Angular, and some using custom frameworks.