HACKER Q&A
📣 account-5

Hybrid App Framework


I'm looking to build an app that runs on a desktop (Windows) and mobile (Android).

It a simple app and I'm looking to manage it with a single set of code. I'm open to suggestions but I'm thinking of HTML, CSS, and vanilla JS.

Im really confused about which framework to use. I'm going hybrid because I need access to the filesystem and some other native things. I have limited experience with Cordova, but it looks like no one uses this anymore in favour of react or flutter. What's the best one to go for now?


  👤 childintime Accepted Answer ✓
You're not giving much info on the kind of app. Regardless, if you value your sanity, go for Flutter. It is built on the same set of principles as React, but uses a single and sound language and has superior tooling. It is also more future proof, uniquely having been adopted by both Microsoft and Canonical. With a small investment you'll also be able to run your app on the Web, the Mac and Linux, and make your own high quality animations. Flutter allows the developer to escape the sandbox all other UI toolkits provide.

👤 emteycz
CapacitorJS and Electron are the pure HTML/CSS/JS options (myself, I combine these with React).

React Native works on Windows too, btw.