react-native-windows-samples icon indicating copy to clipboard operation
react-native-windows-samples copied to clipboard

Create the simplest sample that uses RNW in a Xaml islands

Open chrisglein opened this issue 2 years ago • 3 comments

Xaml Islands are a complicated topic, and we get lots and lots of questions about them (and bugs that happen on them).

  • There's a nice article that walks through adding RNW to a WPF app using Xaml Islands. But that's a slice in time, currently 2 years old, and not accessible as a sample that people can quickly build and copy.
  • There's an existing repo of Xaml Islands Samples, but that's not going to include RNW.
  • We have another issue on this repo tracking the need for a write up on this topic.
  • Playground Win32 uses islands, but isn't documented and also is serving many more purposes than a "hello world w/ islands" app would.

I think what need is the simplest example app we can muster of a Xaml islands + RNW app. And we need it to live here on this repo alongside our other samples.

chrisglein avatar Sep 17 '21 23:09 chrisglein

To me this is by design, per discussion in microsoft/react-native-windows-samples#267

asklar avatar Sep 22 '21 23:09 asklar

To me this is by design, per discussion in #267

By which you mean that TodosFeed should suffice? It isn't minimal, and has been locked in time to match the article it goes with.

At the very least, we don't point people in a clear direction if they're looking to use RNW with XAML Islands, and it comes up a lot. Whatever we thinking is exemplary here should also be discoverable.

chrisglein avatar Sep 22 '21 23:09 chrisglein

no, what I'm saying is we probably don't want 3rd parties to do xaml islands without some white gloving. If you remember the conversation we had in 267, we had decided to not publicize xaml islands for RNW since there are lots of gotchas and we are not resourced to support it for arbitrary 3rd parties.

asklar avatar Sep 22 '21 23:09 asklar