13 ms·
Electron supports multiple windows, but it ends up being annoying to do because each window runs in its own process. If your app has any kind of central state t
by 43920 6y ago
Electron supports multiple windows, but it ends up being annoying to do because each window runs in its own process. If your app has any kind of central state that's shared between windows, you end up copying data between processes frequently, which can be slow.
Rendering consistency is generally pretty good; I haven't run into any issues with that.
- virtue3 6y agojust ship everything with sqlite :) it'll be fine
- freefriedrice 6y agoThis bugs me to no end about Electron. The one module that existed to implement cross window / process communication is deprecated with no alternative. I haven't found a solution for multithreading in electron without killing the base process (which they explicitly say NOT to do compute in) or the rendering process (duh).
- 43920 6y agoWeb workers launched from the renderer work fairly well if you just need compute. I think I've also seen some apps add an additional BrowserWindow that's never displayed onscreen, although that will increase your memory overhead.