Hacker News new | ask | show | jobs
by bengold14 1731 days ago
I can't tell if this is a joke or we've actually done a full circle
1 comments

The idea seems neat. If you don't want to rely on react native but still write react this might be a good option to have
The point is that Flutter compiles back to Javascript.
It doesn't. To clarify, you can compile dart to javascript, albeit more commonly to machine code.
https://flutter.dev/web

> Adding web support to Flutter involved implementing Flutter’s core drawing layer on top of standard browser APIs, in addition to compiling Dart to JavaScript, instead of the ARM machine code that is used for mobile applications. Using a combination of DOM, Canvas, and WebAssembly, Flutter can provide a portable, high-quality, and performant user experience across modern browsers.

It does if you target browsers with your flutter app.
I believe it actually targets WASM and renders as a canvas element.
No. Where did you get that from? Compiling dart into WASM is a highly requested, but unimplemented feature (it's not really necessary for most cases you'd think). https://github.com/dart-lang/sdk/issues/32894