Ask HN: How to create web, mobile, and desktop apps from a common code base?
I have an idea for a few apps that make sense to exist simultaneously as a web, mobile (Android and iOS), and desktop (Windows, Mac, and Linux) app. The research I have done so far is for utilizing JavaScript/TypeScript-based tech stack with React for the web, React Native for mobile, and Electron for desktop versions. Because I have yet not started learning those technologies I want to make sure that a common code base is achievable with them and also to consider some alternatives. For example, a commonly mentioned alternative of Electron is nw.js and I also found that React Native can be used not only for mobile but also for Desktop apps at least for Windows and MacOS.
What are your suggestions for a technological stack for the described cross-platform setting?
What are your suggestions for a technological stack for the described cross-platform setting?