Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Hybrid App Framework
1 point by account-5 on April 16, 2022 | hide | past | favorite | 4 comments
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?




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.


Thanks, much appreciated. Apologies for my limited understanding does this mean learning Dart?

My app is a volume calculator for building materials. I'm aware of similar apps already available on the app store but they're full of advertising and not specific and over complicated for my needs. Plus I want to learn mobile dev, how better than writing my own app.


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

React Native works on Windows too, btw.


Many thanks. I shall have a look at this, seems you can migrate from Cordova too.

I hear so much bad press about electron I was hoping to avoid it, my app is so simple I can't justify the bloat. I looked at sciter for the desktop but it looks to me like I would need to work in C/C++ to embed it.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: