Skip to content Skip to sidebar Skip to footer

Pop Out A React Component Into A New Window

I am wondering if it is possible to pop out a React component that has a whole Redux Store etc. into a new window with an iframe. This is probably not possible to do but I wanted t

Solution 1:

You can use React Portal to open a new window and maintain it under React tree.

It's a semi-long post so check out this post.
Using a React 16 Portal to do something cool

You can open a new window, do what you need to do, and forward the user to a different URL, which won't affect your original window.


Post a Comment for "Pop Out A React Component Into A New Window"