Actually I really disliked electron but 1Password showed me it can be done right.

I still prefer native, but the argument of smaller code base for security reasons is a valid one.