Live data from Hacker News

Why I'm Not a React Native Developer

arielelkin.github.io

171–180 of 318 posts

Re: Why I'm Not a React Native Developer

#172

Could FB plug the cord on React once it does no longer align with its core strategy? Sure, it did it with parse.com without the least concern for the community of users/clients. The apology was to leave behind a half-cooked open source version of parse server. The exact same thing could happen to the React community. I'd say stick to true open source projects and descentralized communities.

If they use React to develop their own apps doesn't give some assurance that they're going to stick?

Besides React is not a platform like Parse was and it should not impact the community to the same degree even if Facebook pulls out.

Re: Why I'm Not a React Native Developer

#173

Reasons why I am a React-Native developer: - It works, really well. - Iteration speed alone has helped us retain at an extremely high DAU/MAU ratio compared to years past. - Both my apps have near 5 star rating across the board, probably the highest rated in the Sports category since we released, and none of our users notice that it is a RN app, which is really surprising b/c RN on Android is not up to par with iOS.…

may I know the name of your app? would love to see an example of 5-star RN app :)

sleeperbot

Re: Why I'm Not a React Native Developer

#175
post #143

Earlier quoted context omitted.

> pretty sure it's either iOS or Android. it's web, android, iOS, and PC. That's 4 platforms, if you consider web and PC separate, and more if you consider windows and linux as separate. Crossplatform is more valuable than ever. But react-native may not be the answer.

The context of this entire thread was about mobile ecosystem. The concept of "cross platform" only holds when you're comparing two similar ones

the whole premise (that i m sold on react-native) is that it lets you use code from your react app and run it natively.

And the concept of cross-platform is not only for "similar" platforms like mobile, but across disparate platforms, like mobile AND PC. Otherwise, what's the point of cross-platform?

Re: Why I'm Not a React Native Developer

#176

I believe in the end it all boils down to the fact that JavaScript is a language that wasn't made for the needs of modern day (web) applications, but since it is still a standard, we need to force it into a form where we can have best control over its shortcomings. That's why things like Typescript, Flow and React exist in the first place. I know this article is about mobile app development, but I think JavaScript wo…

Besides, while JS's problems are very real, they're quite exaggerated. It's still a perfectly usable language, even without TS and whatnot. And unlike some languages used for app programming, an error doesn't have the potential to hand you a segfault.

> ...an error doesn't have the potential to hand you a segfault.

And that is a good thing why? So you don't realise there was an error and your app runs on in a corrupted state?

Re: Why I'm Not a React Native Developer

#177

Earlier quoted context omitted.

Uh no. Your application can be completely shut down and push notifications will still arrive on the phone for Android, iOS, and Windows Phone. Once the app is open, you load the new bits of the conversation. Stuff in the background would be like video/audio calls, playing music, actively monitoring motion/gps (MapMyRun/Ride/Swim/etc), and a few other things that escape me at the moment.

I have written an audio app in RN. I have no idea why you think it is not suitable for such use cases. I assume the OP was talking about games.

I actually meant more along the lines of if you already have 2 very successful iOS and Android apps and a process to release quickly and you've already found real meaningful traction. In this case, the cost of switching is probably not worth it versus continuously improving your existing apps.

If you are looking to release games quickly, the choice is generally Unity, although I hate how all the Unity games take forever to load, but it's a great way to get your game out quickly, and the good games will overcome the load times issue.

Re: Why I'm Not a React Native Developer

#178
> JavaScript allows for objects to be left in an inconsistent state right after being created, as their properties don’t need to be initialised.

No, you just forgot to put `this` in front of `width` and `height`. (Arguments do default to `undefined`, though.)

Post reply on HN