I was wrong about Electron
21 hours ago
- #Electron
- #Desktop Apps
- #Tauri
- The author chose Tauri over Electron initially to avoid bloat and follow perceived trends among developers.
- Tauri worked well on macOS and Windows, but on Linux, issues arose with WebKitGTK causing rendering inconsistencies across distros and display servers.
- Notification implementation in Tauri was problematic, lacking proper desktop click handling and requiring platform-specific code.
- Bundling a Node.js daemon with Tauri became complex, involving multiple binaries and packaging challenges.
- Switching to Electron simplified development, ensuring consistent UI, easier notifications, and built-in Node.js support.
- The author realized that trade-offs should be evaluated objectively rather than based on trends, and Electron suited their project's needs better.