π Learning and exploring Electron.
Build cross-platform desktop apps with JavaScript, HTML, and CSS
This repository is for me to learn and explore Electron using runnable example programs.
This repository illustrates different concepts, patterns and examples via standalone subprojects. Each subproject is completely independent of the others and do not depend on the root project. This standalone subproject constraint forces the subprojects to be complete and maximizes the reader's chances of successfully running, understanding, and re-using the code.
The subprojects include:
A simple Electron app that showcases core APIs and nothing else.
See the README in core-only/.
A demo Electron app showing a realistic project setup supported by tooling like Electron Forge and webpack.
See the README in realistic/.
General clean-ups, TODOs and things I wish to implement for this project:
- DONE Add a subproject that uses Electron Forge. This is an official Electron project and perhaps is the recommended way to scaffold and build your project. Does it handle hot reloading? Let's find out! Stay vigilant though. If it turns out to be too complicated or flaky, it's valid to not recommend using it.