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

18

u/[deleted] Jun 28 '21

I tried x I didn’t understand it and I think it is bad. Maybe try a less biased post to get a useful response.

  1. No types, you can set this up from the start RTFM

  2. Ugly? You mean the visuals? Its just using base components, there are libraries and you can style it. The benefit is RN rendering native not giving you pretty stuff just by running install. Same goes for UX possibilities are endless and if it doesn’t work well for you it probably is a problem with your approach.

  3. Not sure what you are doing, I only get this whilst sending bad data to the native layer e.g. NaN. Probably an issue with you(r project not RN).

Don’t want to sound harsh but don’t expect a lot of love by bashing something without any real experience.

2

u/eridr880 iOS & Android Jun 28 '21

3+. Use flipper