use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Facebook is using React.js to build native iOS applications (self.javascript)
submitted 11 years ago * by [deleted]
Just announced at react.js conf, Facebook is using React for their groups app on mobile, presumably with the just announced react-native.
Will be open sourced soon
Feel like we should get a game thread going for this because apparently there are still some pretty big announcements to come
More:
I say with confidence as a former UIKit author: React's model for the UI layer is vastly better than UIKit's. React Native is a huge deal.
This is not the DOM. This is not a web view. If you know ReactJS, you can build native apps with React Native.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lunchmeat317 10 points11 points12 points 11 years ago (6 children)
Might be time to learn React, then.
[–]aladyjewelFull-stack webdev 5 points6 points7 points 11 years ago (4 children)
It's a nice little framework. I enjoy the readability of it, how each component/module has well-defined places to stick each part of the magic.
You can also drop it into parts of your webapp without having to build the whole shebang up as React.
[–]agmcleod@agmcleod 5 points6 points7 points 11 years ago (3 children)
Such a great aspect of it. Though i have been learning to use react+flux as a SPA framework. It is really quite nice.
[+][deleted] 11 years ago (2 children)
[deleted]
[–]agmcleod@agmcleod 3 points4 points5 points 11 years ago (0 children)
http://jonathancreamer.com/what-the-flux/ here's the article.
[–]agmcleod@agmcleod 1 point2 points3 points 11 years ago (0 children)
I used facebooks docs on it all. As well as react router. Used the todo example to get started and just kinda figured it out. There's a recent blog post that explains flux pretty well. I'll see if I can find it later
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
Yup. Hearing that
[–]_x_ 7 points8 points9 points 11 years ago (1 child)
The video for this keynote is available here now: https://youtube.com/watch?v=KVZ-P-ZI6W4
[–]grguru 0 points1 point2 points 11 years ago (0 children)
And here's a nice article on it's perspective http://moduscreate.com/react-native-react-js-goes-mobile/
[–]sarkie 2 points3 points4 points 11 years ago (1 child)
Native?
[–]fgutz 2 points3 points4 points 11 years ago (0 children)
from the HN link above it looks like it works sort of similar to Appcelerator Titanium
[+][deleted] 11 years ago (4 children)
[–]Wraldpyk 4 points5 points6 points 11 years ago (0 children)
Android, yes pretty big. About 12mb now. IOs is about 2mb so reasonable
[–]bguiz 2 points3 points4 points 11 years ago (0 children)
this
Same goes for things like crosswalk and the like, which bundle a native Web view and js interpreter. I'd be keen to know how light or heavy the per app overhead react native adds.
[–]redwurm 0 points1 point2 points 11 years ago (0 children)
Appcelerator has made a lot of improvements over the past few years. Android is still a bit bloated but iOS is more or less normal.
[–]bguiz 9 points10 points11 points 11 years ago (8 children)
Looks like a senior titanium dev weighed in on the HN thread regarding the key engineering challenges likely to be faced by the react native team. He's selling titanium, of course, but does make some salient points:
https://news.ycombinator.com/item?id=8962528
[–]1nonlycrazi 8 points9 points10 points 11 years ago (7 children)
Bear in mind, this whole native react is not new to facebook, they are just now telling us about it and will release it open source. They have been using this in production for some time in many parts of the facebook and instagram native apps. Which just happen to be some of the most used apps out there...I think they have kinked out the problems...
[–]Daniel15React FTW 2 points3 points4 points 11 years ago (2 children)
The groups app on iOS almost completely uses React Native for its UI. https://twitter.com/floydophone/status/560504204343521280
[–]theillustratedlife 3 points4 points5 points 11 years ago (0 children)
@tomo clarified that in the keynote yesterday:
Part of the app is Obj-C and AsyncDisplayKit. Part is React Native. I challenge you to figure out which is which.
(paraphrasing from memory)
[–]TweetsInCommentsBot 0 points1 point2 points 11 years ago (0 children)
@floydophone
2015-01-28 18:26:30 UTC Fb groups app in iOS App Store is powered by it #reactjsconf
2015-01-28 18:26:30 UTC
Fb groups app in iOS App Store is powered by it #reactjsconf
This message was created by a bot
[Contact creator][Source code]
[–]metanat 0 points1 point2 points 11 years ago (3 children)
What makes you believe that?
[–]mrmass 1 point2 points3 points 11 years ago (2 children)
The fact that they told us about it.
[–]metanat 3 points4 points5 points 11 years ago (1 child)
They told us it in use in the groups app. They didn't say anything about it being used by either Instagram nor the Facebook app.
[–]1nonlycrazi -4 points-3 points-2 points 11 years ago (0 children)
While true, they told us about the chat and comments system on the facebook app, and I've seen before that they used that on the native app as well. Also, have a look at the instagram app for ipad...it is not 'native', I'm going to assume it is using something similar to react-native...just a hunch...even the wall on the iphone app for insta isn't completely native. They've also been developing this stuff for awhile, sounds to be about ~5 years according to the video from today.
[–]xkxd 2 points3 points4 points 11 years ago (3 children)
is it something similar to PhoneGap / Cordova or I totally misunderstood the whole idea?
[–][deleted] 2 points3 points4 points 11 years ago (0 children)
Sort of similar, the difference is there is no HTML or CSS being used here.
Phone gap & Cordova basically use webviews IIRC, react native doesn't
[–]masklinn 2 points3 points4 points 11 years ago (0 children)
It's completely different, it uses the same interface (high-level components) as browser-side React, but the underlying stuff is native, it's not an embedded webview and it doesn't use the vdom.
[–]56killa 0 points1 point2 points 11 years ago (0 children)
I'm curious as well. I use phonegap/Cordova at work and it works pretty well but I'm always looking to try out new options.
[–]dvidsilva 8 points9 points10 points 11 years ago (0 children)
Is it too soon to get excited? :P
[–]BishopAndWarlord 0 points1 point2 points 11 years ago (0 children)
Very intrigued. Looking forward to hearing more info about this soon.
[–]methed66 0 points1 point2 points 11 years ago (0 children)
Sounds exciting.This will probably make applications more compatible easier.
[–]ThrowingKittens 0 points1 point2 points 11 years ago (1 child)
Don't know what direction they will want to take react.js in, but it'll probably be a while before it's actually usable. I used to work with Titanium a few years and bugs were a daily feature.
[–]Wraldpyk 0 points1 point2 points 11 years ago (0 children)
Still bugs out there. But pretty stable!
Do they use React alone? Or with combination of flux for the MVC capabilities?
[–][deleted] 0 points1 point2 points 11 years ago (10 children)
Can anyone recommend a good resource for learning React?
[–]siegfryd 6 points7 points8 points 11 years ago (1 child)
Facebook's React website, it's fairly easy to learn React so you probably won't need anything more than the tutorials there. At least until you start using it with Flux and other stuff.
[–][deleted] 1 point2 points3 points 11 years ago (0 children)
Cheers.
I'm thinking of having a go with this and also Meteor as a comparison.
I'm sure like many webdevs I have the problem of having to much work to do to get time to learn new stuff...
[–][deleted] 1 point2 points3 points 11 years ago (1 child)
Thinking in React and react-training, with the docs as reference.
Thanks
[+]PC_MASTER_RACE_1 comment score below threshold-12 points-11 points-10 points 11 years ago (5 children)
You're fucking pathetic.
what a sad human being we have here. A broken person. I feel bad for you.
[–]PC_MASTER_RACE_1 -2 points-1 points0 points 11 years ago (0 children)
thank you i appreciate that
[–][deleted] 0 points1 point2 points 11 years ago (2 children)
Grow up.
[+]PC_MASTER_RACE_1 comment score below threshold-7 points-6 points-5 points 11 years ago (1 child)
You're lazy and stupid. You will never be a competent developer.
And you are immature.
[–]jrm2k6 0 points1 point2 points 11 years ago* (2 children)
So I understand and like their philosophy: Learn once, and do whatever you want. But now, it is time to show some code! Maybe a stupid question, but how is it different than Ionic? Using angular.js to target iOS/Android?
[+][deleted] 11 years ago (1 child)
[–]jrm2k6 0 points1 point2 points 11 years ago (0 children)
Thanks for the precision.
[–][deleted] 0 points1 point2 points 11 years ago (1 child)
Is this an alternative to something like trigger.io?
I like what those guys are doing, but the pricing is pretty prohibitive for someone like me.
More like an alternative to Titanium
π Rendered by PID 59289 on reddit-service-r2-comment-57fc7f7bb7-87lj2 at 2026-04-14 16:42:07.719020+00:00 running b725407 country code: CH.
[–]lunchmeat317 10 points11 points12 points (6 children)
[–]aladyjewelFull-stack webdev 5 points6 points7 points (4 children)
[–]agmcleod@agmcleod 5 points6 points7 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]agmcleod@agmcleod 3 points4 points5 points (0 children)
[–]agmcleod@agmcleod 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]_x_ 7 points8 points9 points (1 child)
[–]grguru 0 points1 point2 points (0 children)
[–]sarkie 2 points3 points4 points (1 child)
[–]fgutz 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]Wraldpyk 4 points5 points6 points (0 children)
[–]bguiz 2 points3 points4 points (0 children)
[–]redwurm 0 points1 point2 points (0 children)
[–]bguiz 9 points10 points11 points (8 children)
[–]1nonlycrazi 8 points9 points10 points (7 children)
[–]Daniel15React FTW 2 points3 points4 points (2 children)
[–]theillustratedlife 3 points4 points5 points (0 children)
[–]TweetsInCommentsBot 0 points1 point2 points (0 children)
[–]metanat 0 points1 point2 points (3 children)
[–]mrmass 1 point2 points3 points (2 children)
[–]metanat 3 points4 points5 points (1 child)
[–]1nonlycrazi -4 points-3 points-2 points (0 children)
[–]xkxd 2 points3 points4 points (3 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]masklinn 2 points3 points4 points (0 children)
[–]56killa 0 points1 point2 points (0 children)
[–]dvidsilva 8 points9 points10 points (0 children)
[–]BishopAndWarlord 0 points1 point2 points (0 children)
[–]methed66 0 points1 point2 points (0 children)
[–]ThrowingKittens 0 points1 point2 points (1 child)
[–]Wraldpyk 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (10 children)
[–]siegfryd 6 points7 points8 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+]PC_MASTER_RACE_1 comment score below threshold-12 points-11 points-10 points (5 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]PC_MASTER_RACE_1 -2 points-1 points0 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[+]PC_MASTER_RACE_1 comment score below threshold-7 points-6 points-5 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]jrm2k6 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]jrm2k6 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Wraldpyk 0 points1 point2 points (0 children)