You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
To run node integration inside electron, electron suggests not enabling node integration in any context that loads remote content. This means loading a worker or a new window with node integration enabled, workers however dont have webrtc, so this means it has to be a separate window. ESM support also becomes an issue.
Describe the solution you'd like
A 2nd renderer window, with node integration enabled.
Describe alternatives you've considered
uuuuuuuuuuh
The text was updated successfully, but these errors were encountered:
You should use node integration how it described in docs through preload script.
running node integration inside preload means you can't benefit from threading, and any resource intensive tasks will make the entire UI lag, it additionally can't run a lot of the node API's
@ThaUnknown what prevents you from spawning another window using Electron’s API? Just as long as you’re sure you aren’t inadvertently giving any way to load something remote in it.
Is your feature request related to a problem? Please describe.
To run node integration inside electron, electron suggests not enabling node integration in any context that loads remote content. This means loading a worker or a new window with node integration enabled, workers however dont have webrtc, so this means it has to be a separate window. ESM support also becomes an issue.
Describe the solution you'd like
A 2nd renderer window, with node integration enabled.
Describe alternatives you've considered
uuuuuuuuuuh
The text was updated successfully, but these errors were encountered: