News for hackers. Stuff that matters.
Re:React Native for Windows and Mac by gitgud on Tuesday May 12, 2020 @07:24PM (#23161330)
The Flutter web port is ridiculous. It circumvents the entire point of a Web page as it's literally just a canvas on the Web page.

You lose all advantages that HTML and CSS gives you, links, styling, accessibility, text selection! ... It's basically a flash website... Which admittedly is okay for some applications

Re:React Native for Windows and Mac by exacube on Tuesday May 12, 2020 @09:00PM (#23162188)
You might be misinformed; according to https://medium.com/flutter/hummingbird-building-flutter-for-... Flutter for Web uses HTML & CSS where it can, and falls back to Canvas where it can't.

Flutter for Web is still on Beta, so lets see where it lands. Today, it seems to implement some PWA practices and lazyloading to try and get some performance.

Re:React Native for Windows and Mac by gitgud on Tuesday May 12, 2020 @09:35PM (#23162446)
Well that article is from 2018 and kind of overemphasises the HTML and CSS where it can.

Checkout the official [1] Flutter web demos. Even the simplest [2] example renders basically every part of the UI (including text!!) within canvas elements, which is a bit crazy to me... but yes it's still Beta, so we'll see what they can improve

[1] https://flutter.github.io/samples/#?platform=web

[2] https://flutter.github.io/samples/web/animations/#/

Re:React Native for Windows and Mac by Klathmon on Tuesday May 12, 2020 @10:48PM (#23162921)
Wow that's pretty insane. I can't select any text on any of those examples, I can't open anything in a new tab, and I can't save any images.
Re:React Native for Windows and Mac by wiradikusuma on Tuesday May 12, 2020 @11:01PM (#23162985)
For some web app, that's a feature
Re:React Native for Windows and Mac by akie on Wednesday May 13, 2020 @07:37AM (#23165808)
I got a big grey screen on the first three I clicked. Not sure if this is ready for prime time...
Re:React Native for Windows and Mac by Yabood on Wednesday May 13, 2020 @01:52AM (#23163879)
I wonder how SEO is handled for web applications built with Flutter since its mostly canvas.
Re:React Native for Windows and Mac by dmitriid on Wednesday May 13, 2020 @05:43AM (#23165163)
They also create a thousand webcomponent wrappers to display this.
Re:React Native for Windows and Mac by contextfree on Tuesday May 12, 2020 @08:36PM (#23162002)
Isn't this consistent with Flutter's approach in general, though? On iOS, Android, etc., it uses its own widget toolkit and does its own rendering, it's not a wrapper over the native toolkits and renderers.
Re:React Native for Windows and Mac by _bxg1 on Tuesday May 12, 2020 @07:59PM (#23161658)
It's Flash all over again, with a fresh coat of paint.
Re:React Native for Windows and Mac by monocularvision on Wednesday May 13, 2020 @08:57PM (#23173876)
I look forward to the day when the folks that shout the benefits of Electron desktop development start screaming over Flutter ruining the web because “it ignores everything that’s good in the browser!”
Re:React Native for Windows and Mac by zubnix on Wednesday May 13, 2020 @07:40AM (#23165823)
Not sure what browser you're using. But here it's actually using webcomponents and CSS houdini to render all demos I tried. Nowhere did I see any canvas usage.
Re:React Native for Windows and Mac by duxup on Tuesday May 12, 2020 @09:35PM (#23162445)
I only did some reading about Flutter for web and I kept thinking "Wait ... is this the web anymore then?"

Admittedly I need to go back and check but it was confusing and worrisome.

Re:React Native for Windows and Mac by dgentile on Tuesday May 12, 2020 @09:05PM (#23162238)
Is it WebGL?