3 ms·
If you do go with TypeScript have a look at Nx. It's tooling around TypeScript monorepo that helps you do exactly what you want: write code once and share it be
by wilgertvelinga 7y ago
If you do go with TypeScript have a look at Nx. It's tooling around TypeScript monorepo that helps you do exactly what you want: write code once and share it between backend/multiple frontends. It suppports Express or NestJS in the backend and Angular, React, Web Components in the Frontend. https://nx.dev/ https://nx.dev/
If you want to make it work with Ionic/NativeScript/Electron as well use xplat. https://github.com/nstudio/xplat https://github.com/nstudio/xplat
- bsaul 7y agoI don’t see anything regarding mobile platform (native).
- wilgertvelinga 7y agoTrue, it's not possible because you need to write your code in Swift / Objective-C for iOS and Kotlin / Java for Android. And Nx only supports TypeScript.