Rubens Mariuzzo
Rubens Mariuzzo
You can use `onUnload` callback.
This was fixed.
I will need to setup my dev env with Electron to test this issue and #110
Yes @nmathew98 we can work together on this. @AdityaKirad I apologize to you and the community for long replies. The main reason, I was away is because of my health....
That said, I'm checking on the React 18 support.
[Released a first version](https://github.com/rmariuzzo/react-new-window/releases/tag/v1.0.0) with basic React 18 support. Will continue to triage other issues.
Will improve the docs with all your suggestion. Thank you all for the valuable discussion. Also, I apologize for the long reply.
Using the `onOpen` callback, it will provide the window instance. Then you can: ```tsx console.log(popup.document.querySelector('*'))} /> ``` Note: I sincerely apologize for the long reply.
Hey there! I'm really sorry for the very long reply. Just checked the sandbox but can't see the use of `NewWindow`. I understand, if the sandbox changed because of the...
This seems to be really fixed now. Also, [I'm adding tests to this library](https://github.com/rmariuzzo/react-new-window/tree/next).