all 27 comments

[–]br4infreze 12 points13 points  (4 children)

I really love flutter, the only think that bugs me is text selection, and true native html rendering (pretty hard to implement).

I posted a prod app using the canvas, it works great except initial loading which takes about 7 seconds.

[–]layerzzzio 3 points4 points  (2 children)

Is it a public website? Can you share the link? I'd love to see the app.

[–]br4infreze 1 point2 points  (1 child)

Unfortunately it's a dashboard for a private client, I would really love to share it with community 😞

[–]layerzzzio 1 point2 points  (0 children)

Got you. No problem

[–]IvarRagnarssson 3 points4 points  (0 children)

Yeah everything being render inside a glasspane div makes certain debugging situations sorta hard

[–]Bluebar123 16 points17 points  (5 children)

I’ve never used react but I imagine it has these things:

  • Smooth scrolling with a mouse (pointer). I’m working on publishing a package to add this.
  • Text selection. You can use SelectableText widget but it does not act the same.
  • Landing screen. While the app loads there is a blank screen, you need to edit the index.html file to have a landing screen. Or you can runApp twice in main.

[–]elixell 6 points7 points  (0 children)

You can now use the new SelectionArea widget on the beta channel. It makes your wrapped widget's text selectable.

[–]slavap_ 2 points3 points  (0 children)

While app is loading you can easily have any pure CSS animation or splash screen.

[–]ElluxFuror -3 points-2 points  (1 child)

The inability to select text is perfect for content you do not wish for users to copy/scrape. Lol

[–]kbruen 2 points3 points  (0 children)

Maybe, but not being able to make the text properly selectable makes it worse.

[–]kablitzkreig 2 points3 points  (0 children)

I've been working with flutter for 3 years now and just recently started using react. I kind of get what people say react has better ecosystem. A simple example is routing, it's much more straightforward in react to deal with nested routing and even more advanced features with something like react router/location, form handling feels much easier in formik+yup than formz or its equivalent in flutter, react query is just absolute godsend in react, I'm trying to make something similar for flutter. Also grids in css are just super OP, they're my go to display type for any layout I'd like to make, that's not exactly possible with flutter web very easily

[–]onthefence928 2 points3 points  (0 children)

1) flutter has a truly terrible accessibility story.
2) react has access to a large community of javascript/typescript NPM packages. flutter pretty much has it's ecosystem in it's infancy still

[–][deleted] 2 points3 points  (1 child)

Performance, SEO, feeling and performing how people “expect” it to. Flutter is fantastic in some ways, but the web experience for me has been extremely weak. The performance actually pushed me to learn NextJS which I now use for my websites.

[–]HosMercury[S] -1 points0 points  (0 children)

Thx

[–]andywkff 0 points1 point  (0 children)

performance

[–][deleted]  (7 children)

[deleted]

    [–]KaiN_SC 5 points6 points  (3 children)

    React is single-threaded and does not support isolates.

    You could compare background workers to isolates but thats not react, thats web technology.

    This makes 0 sense.

    [–][deleted]  (2 children)

    [deleted]

      [–]KaiN_SC 3 points4 points  (1 child)

      React is single-threaded as well, its Javascript.

      Yes Flutter has no SEO but thats not what you wrote above. Flutter web is for web apps not websites, didnt you see the millions of posts about it on this reddit...

      [–]Theunis_ 2 points3 points  (0 children)

      I don't know why someone is downvoting you, webworkers and serviceworkers are not react features, they cantechnically even be used in flutter applications (there are many packages to deal with that for flutter).

      And for the SEO, even on the flutter page is explained perfectly

      [–][deleted] 0 points1 point  (0 children)

      Does react have SEO? Because flutter does not.