News for hackers. Stuff that matters.
Re:React Native for Windows and Mac by 43920 on Tuesday May 12, 2020 @06:10PM (#23160617)
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.

Re:React Native for Windows and Mac by freefriedrice on Tuesday May 12, 2020 @08:10PM (#23161770)
This 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).
Re:React Native for Windows and Mac by 43920 on Tuesday May 12, 2020 @09:14PM (#23162299)
Web 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.
Re:React Native for Windows and Mac by virtue3 on Tuesday May 12, 2020 @06:25PM (#23160803)
just ship everything with sqlite :) it'll be fine