How to open a new window in react-native-windows? #9675
-
What I'm trying to do is open a new app window by pressing a button. And I want to invoke a method in the main window after closing the pop-up window. What is the best way to achieve these requirements? |
Beta Was this translation helpful? Give feedback.
Answered by
chrisglein
Mar 10, 2022
Replies: 1 comment 1 reply
-
ApplicationView is the UWP API for doing multi window stuff. From that doc there should be samples and such. Note that if you're creating a new window that gets a new thread and you'll need another React Native instance. The two React Native hosts can't share an instance. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chrisglein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ApplicationView is the UWP API for doing multi window stuff. From that doc there should be samples and such. Note that if you're creating a new window that gets a new thread and you'll need another React Native instance. The two React Native hosts can't share an instance.