Live data from Hacker News

A Deep Dive on React Native [video]

youtube.com

51–60 of 72 posts

Re: A Deep Dive on React Native [video]

#51
post #18

React Native is a cool project, but the deafening hype is slightly puzzling. Creating and calling native UI components from JavaScript is nothing special in itself. It's obviously possible to do it from JS just as well as from any other language -- you just need to provide the API. There you have two choices: either a bridge that translates the native API directly, or a wrapper class hierarchy. Examples of bridges in…

React is not necessarily novel, but the combination of techniques might be: React addresses so many issues/smells that were so common and unaddressed by other frameworks that its getting a lot of well deserved mindshare.

Re: A Deep Dive on React Native [video]

#52
post #46

Since I already know ObjC & Swift, the most interesting part of this is at 8:17. "What if we could server-side run native apps? ...we could do it". Hmmmm. An interesting idea, however Apple might have something to say about that (App Store Review Guidelines): 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch other executable code will be rejected Still...I like the idea o…

JavaScriptCore executes javascript embedded in the app, it's not like a webview that would download an arbitrary webpage/script, so it wouldn't conflict with the guidelines

Yeah thats how the Groups app works now, but I was referring to his forward thinking "server-side run native apps". Thats way different.

Re: A Deep Dive on React Native [video]

#53
post #46

Since I already know ObjC & Swift, the most interesting part of this is at 8:17. "What if we could server-side run native apps? ...we could do it". Hmmmm. An interesting idea, however Apple might have something to say about that (App Store Review Guidelines): 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch other executable code will be rejected Still...I like the idea o…

The executable code limitation is likely geared toward security. For all other purposes, it's just data.

Well yeah, both are for security. But if you had a native "app server", that just fed JS to a shell of an app that had ReactNative in it....you could completely change the app, remotely. Not just styling too, but actual functionality. Its the promise of "real" native A/B testing, but clearly violates app store review guidelines.

Re: A Deep Dive on React Native [video]

#54
post #44

Earlier quoted context omitted.

> Which means none of the existing drag and drop solutions will work (any DOM manipulation without react knowing about it will cause trouble) Um, we totally use jquery-ui's drag and drop in a React component in production and nothing bad happens.

Ah, ok. Good to know. You just listen to the drop events and then update the state of react?

Yup, but it's not necessarily UI state that gets updated, just something that maps draggables to where they've been dropped.

Re: A Deep Dive on React Native [video]

#55
post #46

Since I already know ObjC & Swift, the most interesting part of this is at 8:17. "What if we could server-side run native apps? ...we could do it". Hmmmm. An interesting idea, however Apple might have something to say about that (App Store Review Guidelines): 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch other executable code will be rejected Still...I like the idea o…

They just need to send the UI "state" (and after that just the state diff would do it). I think it's actually much like HTML for a browser.

Re: A Deep Dive on React Native [video]

#56
post #52

Earlier quoted context omitted.

JavaScriptCore executes javascript embedded in the app, it's not like a webview that would download an arbitrary webpage/script, so it wouldn't conflict with the guidelines

Yeah thats how the Groups app works now, but I was referring to his forward thinking "server-side run native apps". Thats way different.

[deleted]

Re: A Deep Dive on React Native [video]

#57

I'm very excited about this, but can someone please write something down? The videos are nice an all, but information-wise they're incredibly low-density. If I have an hour to spend on React Native, I'd rather read for 10 minutes and experiment for the remaining 50...

If you have to watch a video though, try increasing the playback speed (it's in the little settings gear on the YouTube player). I normally listen for a few minutes at double speed, then drop down to 1.5 if necessary.

Did you try that with this video? I had enough trouble with the speaker rushing words in a thick accent at normal speed (not even meant as a criticism...just one of those things you come across at these conferences).

Sometimes speeding up just isn't a viable option. I'm glad I had the time to watch the whole video last night, but I too am looking forward to blog posts, documentation, and code releases. Way easier for me to digest quickly, and at my own pace.

Re: A Deep Dive on React Native [video]

#58

I'm very excited about this, but can someone please write something down? The videos are nice an all, but information-wise they're incredibly low-density. If I have an hour to spend on React Native, I'd rather read for 10 minutes and experiment for the remaining 50...

From watching the talk, it seems they have rushed a bit and are not in a good place to release code, docs, etc. The speaker implied that fundamental pieces are still changing rapidly. In all that rush, I doubt anybody has the hours necessary to write a nice blog post.

It's interesting that they are making a private repo available to attendees. I suppose they want to get some feedback and start some hype but also want to ensure a smooth initial public release.

Perhaps some community members with access to the private repo will blog their own impressions, if that's not discouraged?

Re: A Deep Dive on React Native [video]

#59

Earlier quoted context omitted.

If you have to watch a video though, try increasing the playback speed (it's in the little settings gear on the YouTube player). I normally listen for a few minutes at double speed, then drop down to 1.5 if necessary.

Did you try that with this video? I had enough trouble with the speaker rushing words in a thick accent at normal speed (not even meant as a criticism...just one of those things you come across at these conferences). Sometimes speeding up just isn't a viable option. I'm glad I had the time to watch the whole video last night, but I too am looking forward to blog posts, documentation, and code releases. Way easier for…

Completely agree - speeding up only really works with certain accents and presenting styles.

Re: A Deep Dive on React Native [video]

#60
post #54

Earlier quoted context omitted.

Ah, ok. Good to know. You just listen to the drop events and then update the state of react?

Yup, but it's not necessarily UI state that gets updated, just something that maps draggables to where they've been dropped.

yes, like updating the position in a sorted list you mean right. And did you also get it to work with touch events on mobile? I have an open question about that on SO http://stackoverflow.com/questions/27837500/drag-and-drop-wi...
Post reply on HN