Hacker News new | ask | show | jobs
by wpdev_63 2757 days ago
Flutter isn't a competitor to electron as you can't target web browsers with it.

I tried Flutter over a year ago and found the instant reloading of code nice and has most of modern features but went back to native as the library support is still non-existent.

The real competitor to flutter is kotlin cross-platform from jetbrains. Most android developers are already familiar with kotlin, unlike dart, and also has great tooling.

I look forward to seeing which one wins mind share as they are well designed options.

2 comments

Incorrect. You can target web browsers with it.

> Dart’s flexibility in compilation and execution doesn’t stop there. For example, Dart can be compiled into JavaScript so it can be executed by browsers. This allows code reuse between mobile apps and web apps. Developers have reported as high as 70% code reuse between their mobile and web apps. Dart can also be used on a server either by being compiled to native code, or by compiling to JavaScript and using it with node.js.

Source: https://hackernoon.com/why-flutter-uses-dart-dd635a054ebf

Dart can target web but Flutter doesn't yet have support for browsers.
It's not fully compatible with web yet but there is ongoing work to make it happen. Flutter itself is about to be officially released in two days and I am sure there will be more push to make it web compatible soon.