react-new-window
react-new-window copied to clipboard
Support for when the main parent window closes
Hi,
This react libary is really cool, but i was wondering what the best way is to support when the main window closes that the redux in the popup keeps working. currently when the main window closes, the redux actions in the popup window will not work anymore
Not sure if this is a solution but have you tried features={{dependent:true}}
?
https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Window_features
Not sure if persisting the Redux state into localStorage
could help. I might need some time to recreate this issue and test that idea.