Closed skellock closed 6 years ago
The directory structure wasn't sitting right with me, so I've refactored it to become more like a single platform app.
I don't think I need to have a breakdown of main and renderer. That's something that the bundler can easily separate.
main
renderer
I'm not sure if people will get confused as to what belongs where, but I don't.
For example src/views/main-window and src/views/menu belong to the main processes, where as everything else under src/views is the renderer process.
src/views/main-window
src/views/menu
src/views
I like this better. It feels less divisive.
The directory structure wasn't sitting right with me, so I've refactored it to become more like a single platform app.
I don't think I need to have a breakdown of
main
andrenderer
. That's something that the bundler can easily separate.I'm not sure if people will get confused as to what belongs where, but I don't.
For example
src/views/main-window
andsrc/views/menu
belong to themain
processes, where as everything else undersrc/views
is therenderer
process.I like this better. It feels less divisive.