Requiring 5-10 modules in a render process window takes about 5 seconds to render that window, although the window is already visible. I understand that require is also synchronous.
Therefore, is there a way to:
- make this asynchronous, or
- require these modules globally for current and new windows, or
- call these via
ipc
frommain.js
if this is faster?, or - make this faster more practically?
via user1679669
No comments:
Post a Comment