Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can react native windows use WinUI3 Desktop project Instead of UWP? #7510

Closed
RekiDunois opened this issue Apr 2, 2021 · 4 comments
Closed
Labels

Comments

@RekiDunois
Copy link

I follow what doc said to add --useWinUI3 flag while using npx react-native-windows-init. And I got a UWP project. I think WinUI3 is able to create the Desktop App, how could I do that while using react native windows?

@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Apr 2, 2021
@vmoroz
Copy link
Member

vmoroz commented Apr 3, 2021

@RekiDunois, I am not sure if can create the whole Desktop app. I would defer the definite answer to @asklar .
I just want to say that we usually use RN in a desktop app as XAML island and you can see how we do it in this sample project: https://github.com/microsoft/react-native-windows/blob/master/packages/playground/windows/playground-win32.sln

@vmoroz
Copy link
Member

vmoroz commented Apr 3, 2021

This issue #7359 maybe related to your question.

@asklar
Copy link
Member

asklar commented Apr 3, 2021

Hi @RekiDunois, we don't currently support the kind of desktop app available with Reunion 0.5.

To hopefully clarify, there are 3 kinds of apps:

  • UWP - available with WinUI 3 prerelease package and system XAML. We have templates for this.
  • Xaml islands - available with WinUI 3 prerelease package and system XAML. No templates.
  • Desktop apps - new type of app for Reunion, not yet supported/tested with React Native for Windows.

@asklar
Copy link
Member

asklar commented Apr 3, 2021

Duplicate of #7359

@asklar asklar marked this as a duplicate of #7359 Apr 3, 2021
@asklar asklar closed this as completed Apr 3, 2021
@ghost ghost removed the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants