My team is building a new cross-platform app (android/iOS/browser/desktop), we are thinking about using Babylon.js for our 3d visual part (mixed with some Angular’s DOM UI), but first we need to make sure if it will work with our tech stack and not finding critical performance issues too late in our QA phase.
Our current team expertise is Angular (6+) and Nativescript/Electron, we cannot change Angular but we are open to replace NS and Electron if there are better solutions out there.
Anybody had or know any kind of issue trying to generate both desktop (with Electron) and Android/iOS apps (with NS).
I tried to search Google and this forum, but nobody mentioned those frameworks.
We use Babylon in Cordova and Electron since 2 years without any issue ! Our app are made with Angular, React, jQuery, etc. Performances are almost the same as in the browser.
I checked about PWA seems great to replace Electron, but can it replace NS flawlessly?
It seems to be working fine with Android and Google Play Store nowadays.
But I don’t see much info for iOS and Apple store.
I don’t get the jQuery part, do you mean the jQuery used for PWA coding?
It enables highly-extensible-animations on anything - in a small package.
So that we can run it by scriptlets. Another requirement.
ABOVE: is the view scaffolding, one of ten business requirements, and why jQuery.
Great question!
I don't know anything about NS - have not deep-dived - will.
Especially if it is simple deploy to Angroid, Google Play Store...
PWA deploys to Google Play Store also. I will compare in JULY.
If you get a chance - to compare - please share.
It won’t : PWA is client side, Node is server side.
PWA does not replace Electron, it’s different use cases :
if you have a website, or a web app, and you want to transform it to an application => PWA
if you want to make a desktop application using HTML/CSS/JS (think about reading / writing files to the local system for example like in the Babylon Editor) => Electron
In both cases it does not replace NodeJS.
Electron = chromium + NodeJS, you can use NodeJS for instance to interact with the local file system
PWA = cached website + service worker to sync with a server (server that may be in NodeJS, or PHP, ASP, etc.)
But both support React, Angular, jQuery = everything that a browser support.
I forget…PWA can replace Electron if you used Electron ‘just’ to make an offline desktop website ;). And in this case PWA will be much better because it will work on mobiles too.