News for hackers. Stuff that matters.
Re:Flutter looks good, but is painful by GeneralTspoon on Monday August 05, 2019 @03:54AM (#20612142)
React Native isn't a web wrapper. It uses a Javascript engine to render native iOS/Android components (unlike Flutter, which doesn't use native components, and instead renders everything from scratch).
Re:Flutter looks good, but is painful by gitgud on Monday August 05, 2019 @04:14AM (#20612238)
Because Flutter has it's own rendering engine, it's inherently more consistent in refresh rates and UI components.

Although React Native shows Native elements, they vary slightly across different; devices, platforms, OS's etc.. this can create many weird edge cases, which makes it unreliable in some cases.

Re:Flutter looks good, but is painful by bsaul on Monday August 05, 2019 @06:36AM (#20612908)
I'm actually investigating getting some skills on react native, but i've got the suspicion it isn't all sunshine and rainbows. From what i've seen so far, a real-world stack has many more dependencies other that react native itself, and becomes a convoluted mess.

However, i'm surprised that i haven't found a similar post to OP detailing real-world React Native pain points.

Do you have more info ?

Re:Flutter looks good, but is painful by rhodysurf on Monday August 05, 2019 @07:42AM (#20613263)
RN pain points are upgrading more than anything else. Also as a native dev I don’t understand why the JS dev ecosystem is full of disjointed tooling instead of just making the process more streamlined.

I have also developed a production flutter app for a client and am now working on a RN app for another. I like RN so much more just because I can create custom native views that use the platform toolkits. You can also share a lot of code with an SPA web app and set up a monorepo for everything pretty easily.

Flutter dev tools are incredible though and much easier to use than react native.

Re:Flutter looks good, but is painful by bsaul on Monday August 05, 2019 @08:28AM (#20613557)
how is the view animation / vc transition story on RN ?

Say you’d like to implement a snapchat-like UX with RN, would that be possible without relying heavily on native custom components ?

Re:Flutter looks good, but is painful by rhodysurf on Monday August 05, 2019 @09:18AM (#20613919)
Animation with RN is very good.

Snapchat like UI is definitely possible, but for the performance to be really good youd probably want to do something native. I consider that a good thing though. RN is better if you just treat it as the coordinator on top of native view components IMO.

Re:Flutter looks good, but is painful by ex3ndr on Monday August 05, 2019 @08:47AM (#20613712)
Yes
Re:Flutter looks good, but is painful by desaiguddu on Monday August 05, 2019 @03:59AM (#20612163)
Gotcha! Edited. From my experience found Flutter more reliable & easy to operate compared to React Native.
Re:Flutter looks good, but is painful by KhoomeiK on Monday August 05, 2019 @04:06AM (#20612202)
I think this is mostly just a preference thing and may have to do whether you're coming from a React vs Native Mobile background. As a React developer, React Native was really amazing for me and made perfect sense. Flutter on the other hand, not so much.
Re:Flutter looks good, but is painful by verttii on Monday August 05, 2019 @11:04AM (#20614741)
Comparing languages is very different to compare these two SDKs. I've developed apps on both, and personally I've found Flutter significantly more solid and overall just better.

Everything is faster and just works (builds, hot reload etc.) on Flutter whereas on RN a lot of the things break constantly for no apparent reason. And all that weirdness like it might work if you rebuild a few more times in a row. Moreover, a lot of the debugging tools work exceedingly well on Flutter while trying to use even just the memory profiler crashes RN.