Live data from Hacker News

A Deep Dive on React Native [video]

youtube.com

41–50 of 72 posts

Re: A Deep Dive on React Native [video]

#41
post #38

Earlier quoted context omitted.

Doubtful, they can just include a compiled JavaScript runtime.

I thought JavaScript was interpreted? Seriously, are there Linux JavaScript compilers existing - which don't depend on Node or any other JIT-compiler, and which can be integrated in Android projects?

I'm guessing it would package up Rhino and use that on Android.

Re: A Deep Dive on React Native [video]

#42
post #35
post #23

Earlier quoted context omitted.

> but the deafening hype is slightly puzzling. > With time, React Native could become for mobile what Qt is on the desktop -- and that's high praise in my books. Sounds like maybe you're not so puzzled after all? I'm not sure what you're hearing is hype. I think it's just excitement. Nobody is declaring this as The One True Way just yet, but a lot of people (you and I included, it seems) are cautiously optimistic tha…

The excitement I've witnessed has been more of the "One True Way", "completely unprecented", "cross-platform mobile solved for good" type. People are talking about how they'll use React Native for new apps without any regard for whether it makes sense in the particular case or not. So I tried to calm down those expectations a bit.

Really? i find that odd considering they said it's not a cross platform tool really, you will still have to write platform specific apps. Just have a mostly one way to do it.

Re: A Deep Dive on React Native [video]

#43

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...

Well, if you weren't watching the talk in person you're going to have to wait for them to release React native in earnest. Fortunately the talk is only 30 minutes so you've got another 30 minutes to do something else?

Re: A Deep Dive on React Native [video]

#44

I'm curious about animations. That is one thing React hasn't really figured out on the web. I think the last experiment I saw was to do all the animations manually using component state. I wonder if this is the same on Native? Ideally a cross pollination of ideas about animations would make both ecosystems better.

yes, this is a good question. I still have to implement drag and drop in a react project, and it seems the way to go is do this all through state? Which means none of the existing drag and drop solutions will work (any DOM manipulation without react knowing about it will cause trouble), and since react is relatively new there is seems there is still a need for good reusable animation components/mixins, and in the mea…

> 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.

Re: A Deep Dive on React Native [video]

#45

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.

Re: A Deep Dive on React Native [video]

#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 of pushing the boundaries of native iOS development.

Re: A Deep Dive on React Native [video]

#47
post #44

Earlier quoted context omitted.

yes, this is a good question. I still have to implement drag and drop in a react project, and it seems the way to go is do this all through state? Which means none of the existing drag and drop solutions will work (any DOM manipulation without react knowing about it will cause trouble), and since react is relatively new there is seems there is still a need for good reusable animation components/mixins, and in the mea…

> 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]

#48
They picked a great timing for the announcement because I needed to use native components with a React app, similar to how Ejecta (http://impactjs.com/ejecta) reimplemented the WebGL API to run js apps without DOM/WebView) but had settled with Cordova plugins because it would have taken probably too long to implement otherwise, so I have high hopes for React Native :)

Re: A Deep Dive on React Native [video]

#49
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

Re: A Deep Dive on React Native [video]

#50
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.
Post reply on HN