Why isn't there an Electron init?
Sources:
The decision not to create an "Electron init" was based on several considerations discussed by Jessica during the early stages of the Electron project. Here are the main reasons:
-
Early Stage Focus: At the time when Electron was starting, it was essential to first raise awareness and explain the project, particularly the integration of Node and Chrome into a single runtime, which wasn't straightforward.
-
Flexibility Over Prescriptiveness: Electron can be used to build a wide range of applications, from simple menu bar apps to complex systems like Slack. An init approach might oversimplify or overcomplicate the setup for diverse projects, potentially leading to a poor developer experience.
-
Avoiding Unnecessary Complexity: Traditional inits often create many folders and files that may not be used, increasing complexity and potentially confusing new users.
-
Resource Constraints: Given that Electron was still proving itself, there was a need to be mindful of what could be maintained internally without excessive overhead. Maintaining a standard init could demand significant ongoing support that was not feasible at the time.
-
User Freedom: There are many ways to write an Electron app with different JavaScript frameworks, and defining a standard init could limit this flexibility and creativity [1].
These reasons collectively illustrate the thought process behind focusing on user education and flexibility rather than enforcing a standardized initiation process for Electron projects.
RELATED QUESTIONS-