There are a lot of advantages to writing desktop applications and in some context it's still preferable.
Apps built with Electron are just web sites which are opened in an embedded Chromium web browser (so a very high level of compatibility with standards is guaranteed). In addition to the regular HTML5 APIs, these websites can use the full suite of Node.js modules and special Electron modules which give access to the operating system.
Starting from Basic Stock-List Demo HTML Client, which shows real-time market data for ten stocks, produced by a feed simulator, we tried to integrate it into an Electron app and the porting was really easy!
The only thing you must pay attention to is on the use of RequireJS requirejs() (rather than require()) function to avoid conflicts with Node's require().