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…
A Deep Dive on React Native [video]
51–60 of 72 posts
Re: A Deep Dive on React Native [video]
#52Since 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
Re: A Deep Dive on React Native [video]
#53Since 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.
Re: A Deep Dive on React Native [video]
#54Earlier 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?
Re: A Deep Dive on React Native [video]
#55Since 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…
Re: A Deep Dive on React Native [video]
#56Earlier 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.
Re: A Deep Dive on React Native [video]
#57I'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.
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]
#58I'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...
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]
#59Earlier 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…
Re: A Deep Dive on React Native [video]
#60Earlier 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.