3 ms·
Maintenance may be pita but the issue with using web specific ui frameworks for a desktop electron app is that web frameworks arent meant to be run for a long t
by yrgulation 4y ago
Maintenance may be pita but the issue with using web specific ui frameworks for a desktop electron app is that web frameworks arent meant to be run for a long time. They take a lot of memory. One has to find the right balance between what to do in the renderer process (ideally nothing more but really basic css and js, maybe a web worker or two), and everything else in the main process.
I threat the main process as a backend api and use ipc as a broker between that and the ui. The renderer process does nothing but show text and icons. From that point on one can have fun with threads and all :-)