Only way to compete electron is by building a webtech compatible UI engine that is lighter weight, more secure, higher performance, and renders well.
That is big engineering task and not something a small group of devs can do.
Only thing that could comes close is building electron and chromium compatible api on top of Zed team's UI engine.