Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clear separation between main and renderer processes #379

Open
cristianoventura opened this issue Dec 12, 2024 · 0 comments
Open

Add clear separation between main and renderer processes #379

cristianoventura opened this issue Dec 12, 2024 · 0 comments
Labels
refactor This issue is related to improvement in code refactoring

Comments

@cristianoventura
Copy link
Collaborator

We'd like to separate the code for the main process and renderer process into distinct modules or directories to establish a clear separation of concerns.

The main process should only contain code related to the application's lifecycle, system-level operations, and IPC setup. (#378 is responsible for organizing the main process).

The renderer process should only contain code related to rendering the UI, frontend logic, and interaction with the user (React code).

Following patterns adopted by other open-source Electron projects, create a clear folder structure to reflect the separation.

@cristianoventura cristianoventura added the refactor This issue is related to improvement in code refactoring label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor This issue is related to improvement in code refactoring
Projects
None yet
Development

No branches or pull requests

1 participant