Skip to content

Comment on MS Teams Switches from AngularJS to React, Ditches Electron.parent

Comments

Intrigued by this approach!

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?

I'll fire a POC onto Github and edit this comment with the link...

Edit: Here you go - https://github.com/jmkni/HnPocWebview2

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.