If you have feature needs thatĮlectron does not meet, you might want to try NW.js. Visual Studio Code, Slack, or Facebook Messenger) however, we want toīe fair to our web technology friends. Polished production applications built with web technologies (like Naturally, we believe that Electron is the better platform for As anĮxample in favor of NW.js, NW.js supports more Chrome.* APIs for the It, and a large amount of userland modules available on npm.Īs an example, Electron has built-in support for automatic updates andĬountless tools that make the creation of installers easier. Electron has a bigger community, more production apps using Features There are numerous differences in the amount of supportedįeatures.Imagination may exist, so if you're looking for something likeĮlectron that runs on Windows XP, the NW.js legacy release might be However, we understand that requirements outside our wildest Have to warn you that using Windows XP is wildly insecure and outright Haven't released even critical security updates for that system, we Given that hardware manufacturers, Microsoft, Chromium, and Node.js Legacy Support NW.js still offers a "legacy release" that supports.Note: NW.js has optionally supported multi-context since 0.13. These concepts were invented because of how NW.js was implemented.īy using the multi-context feature of Node, Electron doesn't introduce Should be familiar with the concept of Node context and web context. JavaScript Contexts If you are an experienced NW.js user, you Requires patching Chromium to work, while in Electron we chose aĭifferent way to integrate the libuv loop with each platform's message Node Integration In NW.js, the Node integration in web pages Lower level so you can use it for browser testing in place of You also need to listen to windowĮvents to decide when to quit the application.Įlectron works more like the Node.js runtime. Providing a URL directly, you manually create a browser window and In Electron, the entry point is always a JavaScript script. Entry of Application In NW.js, the main entry point of anĪpplication can be an HTML web page.That make Electron a completely separate product from NW.js. There are however fundamental differences between the two projects Both platforms enable developers to utilize Like NW.js, Electron provides a platform to write desktop applications Electron has a page explaining the differences with nwjs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |