When comparing GitHub Electron vs B4X, the Slant community recommends B4X for most people. In the question“What are the best ways to make a cross-platform application?” B4X is ranked 2nd while GitHub Electron is ranked 6th.
Ranked in these QuestionsQuestion Ranking
Pro Relatively low barrier to entry
No need to learn native UI APIs for multiple platforms.
Pro Has a built in packager which allows you to package web apps
the electron packager tool allows you to package your web app for any target platform that you desire, as long as you provide the correct information.
Pro A very active forum where you can find any issue you have, and quick answers to new ones
Pro Live code swapping
A huge productivity boost when you can run your apps on the devices and make code changes real time without needing to recompile.
Pro A highly motivated program author who is very active in the forums
Erel Uziel is simply the most pro-active Soft-Creator/Forum Manager you will ever come across. If it has not yet been asked & answered, just ask and you will be answered withing minutes, and thanks to it being a trully international forum, this is achieved 24h/7d.
Pro Create easy, fast and with less code cross-platform views
B4XUI custom views are designed, by Erel and other forum members, exactly with this in mind; custom views that act and feel exactly the same no matter what platform you target.
Pro Very easy to use and powerful for IoT
Support for Bluetooth/BLE, MQTT, TCP/UDP, Serial, NFC, Websockets, HTTP/2 across platforms makes it the ideal tool for IoT projects.
Pro Powerful general purpose programming tool
As mentioned in its website, "With B4X, anyone who wants to, can develop real-world solutions."
Pro No complexities compared with other tools
No need to learn JAVA, C+, PHP, or any other complementary languages in order to achieve exactly what you need.
Pro Many informative video tutorials
The tutorials help beginners as well as more experienced programmers grasping important concepts.
Pro The best tool with the best service by Erel
Con Extra effort may be required to make things look native on each platform
Con Looks and feels like an alien
Con Mobile platforms not supported
According to documentation only Windows, Linux and Mac are supported, no mobile platforms.
Requires a bit of system memory, and makes applications bulky due to the fact that all your web apps made in electron work in a NodeJS Shell that is basically a web browser displaying your app.