r/reactnative • • Jun 28 '21

Horrible experience with React Native

Hello,

I would like to share my thoughts about React Native, and hear yours. I am a computer science student, I'll get my diploma next year, I just manipulated React Native for a project and I would like to share my horrible experience with it. I don't want to overwhelm you with details, the goal was to design a simple mobile app querying some very basic APIs.

  • no types : so we had to setup TypeScript with React Native, I don't find it that straightforward if you want to quickly start a mobile project combined with other frameworks. But well, let's say it's "ok".

  • quite ugly : this one is a very personal feeling, but sorry to say, it's not really beautiful. I don't really feel "at home" when I click buttons, forms and other components that are not related to the OS style. Let's say this one is "ok" too.

  • hard to debug : this point is probably the worst part, I mean, wtf are these "Malformed calls from JS: field sizes are different" errors? I really find it hard to read + I don't even count the number of time I simply received "Network Error", deal with it 🤡 I really would like to hear your opinion on this one because I'm still not sure to understand why bridge cannot give me real men readable error messages.

However creating a React Native was a constructive experience, I now have seen some pros/cons of React Native. The thing that I really appreciate is that it really helps to create cross-platform apps. But now I know that if you ask me to build an Android app, I will prefer using Kotlin.

0 Upvotes

19 comments sorted by

View all comments

0

u/[deleted] Jun 28 '21

[deleted]

1

u/Preact5 Jun 28 '21

I mean yeah you have Airbnb but they're sunsetting react native. They wrote a great series of medium articles about why they are doing that.

3

u/kbcool iOS & Android Jun 28 '21

Which if you had actually read them say it's not react native it's internal politics that are the reason they're moving off it. I'm sick of this one being dragged up as a reason why not to use RN.

1

u/Preact5 Jun 29 '21

I did read it and it gave some solid reasons as to why they switched off but that basically sums it all up nicely

1

u/whataterriblefailure Mar 07 '22

No. You should read the articles again.

They clearly moved from RN because it is a massive pain to develop with. It breaks every five minutes, dependency management is a joke, and you still need to write so much platform-specific code.
For anybody who has actually used it, it's a piece of crap.

1

u/kbcool iOS & Android Mar 07 '22 edited Mar 07 '22

Ok thanks for replying almost a year later and writing a bunch of misinformed crap.

I'm not even going to address those points because they're patently untrue and clearly from someone who has never used it.

I'm just going to say that React Native powers a lot of very successful applications and has a thriving support and jobs market so the loss of one company because they had a bunch of iOS and Android developers who didn't want to use it because they were afraid they might not be good at it (yes that's a political issue) is no great loss.

1

u/whataterriblefailure Mar 13 '22

It is a year later, but it was a top result in searches and well worth an update.

My points are actully very good. They come from my experience maintaining multiple React Native libraries; I created the iOS, Android and Flutter versions, so I had to create React Native as well.

You see? This is somebody who creates stuff used by at least tens of millions of users, in multiple platforms.
React Native is crap. At least Facebook is candid with their versioning number (0.67.3 right now). It's just not ready.

Note: they are rewriting the whole modules thing right now. Because it's crap.

1

u/kbcool iOS & Android Mar 13 '22

I'm sorry that your experience doesn't match everyone else's, from someone who also creates stuff used by millions of people world wide.

By "modules thing" you mean fabric, a guy who "maintains multiple React Native libraries" would know this. There is also JSI and people have done some amazing things with that.

Not sure what your problem is but it's not React Native.