Skip to content

How do I embed react-native-windows into an existing UWP application? #10817

Closed Answered by AlyElhaddad
AlyElhaddad asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry it turns out I've written it but forgot to post it that long. Here's what I did, @chrisglein
@hunainhumail-purevpn FYI

Approach

The original scenario, where we have an existing react-native application, and we would like to create a UWP app for it, we would usually use npx react-native-windows-init, or npx react-native-windows-init --language cs to generate the project in C# instead of C++ (more about react-native-windows-init). This will create a windows directory under the root directory of the react native project. We would then need to auto-link the project (more about auto-linking). This, however, could be done automatically by running the recently-created project using npx rea…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@AlyElhaddad
Comment options

@chrisglein
Comment options

@hunainhumail-purevpn
Comment options

Comment options

You must be logged in to vote
2 replies
@hunainhumail-purevpn
Comment options

@hunainhumail-purevpn
Comment options

Answer selected by AlyElhaddad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants