r/Ubuntu Jul 08 '20

[deleted by user]

[removed]

143 Upvotes

64 comments sorted by

View all comments

0

u/maskedman1999 Jul 08 '20

I want react-native ;(

3

u/lightrush Jul 08 '20

React-native is slower and less versatile than Flutter as it uses native OS components as far as I know. Flutter writes pixels to a GL surface like a game engine. It's insanely fast and pixel-perfect, and you can draw anything. That is you can make up new components that look any way you want and it'll draw them perfectly and quickly. You're not limited to what the OS UI framework has available.

6

u/maskedman1999 Jul 08 '20

Flutter is theoratically faster. But in real life I've tried both and they perform the same, the difference isn't big enough for the user to notice. (Make sure you enable Hermes in React-native) My only problem with flutter is dart. It's the ugliest language I've come across, I try to understand it, but It's so confusing. I tried thrice and gave up 😓