Live data from Hacker News

A Deep Dive on React Native [video]

youtube.com

21–30 of 72 posts

Re: A Deep Dive on React Native [video]

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

Re: A Deep Dive on React Native [video]

#22
post #15

I get that people are excited, but it seems like time and time again these abstractions fail to solve the underlying problems. It's like how we never got a fix for making cross platform applications. And regardless how much people wants the new way of doing things to work, the results speak for themselves. Atom, the editor, can't even handle window re-sizing smoothly.

Did you watch the video? They're taking a genuinely new approach here. It's not "lowest common denominator" like Xamarin, Qt, etc, and it's also not a WebView like Atom or Ionic (Cordova).

It's actual native components, with the intent that you "learn once, write everywhere" rather than try to jam iOS and Android into the same codebase.

Re: A Deep Dive on React Native [video]

#23
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…

> 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 that it could make mobile development a lot better.

Re: A Deep Dive on React Native [video]

#24
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…

I think the hype is partly because many people (myself included) really like, even love React (and Flux). So being able to use it for native apps is great news for us.

Re: A Deep Dive on React Native [video]

#26
post #22
post #15

I get that people are excited, but it seems like time and time again these abstractions fail to solve the underlying problems. It's like how we never got a fix for making cross platform applications. And regardless how much people wants the new way of doing things to work, the results speak for themselves. Atom, the editor, can't even handle window re-sizing smoothly.

Did you watch the video? They're taking a genuinely new approach here. It's not "lowest common denominator" like Xamarin, Qt, etc, and it's also not a WebView like Atom or Ionic (Cordova). It's actual native components, with the intent that you "learn once, write everywhere" rather than try to jam iOS and Android into the same codebase.

[deleted]

Re: A Deep Dive on React Native [video]

#27
The 5-minute demo at the end (22:24) is incredibly impressive: http://youtu.be/7rDsRXj9-cU?t=22m24s

That just seems SO much easier, quicker, and more efficient than storyboarding and coding UIViews. I am very much looking forward to being able to play around with this and discover downsides, because there have to be some...right?

Re: A Deep Dive on React Native [video]

#29
post #17

All of this looks great and I'll give it a try as soon as I get some spare time, but there are a couple of things I didn't understand. 1) Is this cross platform or are you still going to have separate code bases for the UIs of iOS and Android? Looking at the code in the demo there are components like View, Text and Image. As basic as they are, are they the same on iOS and Android (same behaviour, same arguments)? It…

About 1) They specified yesterday the goal is not "write once, run everywhere" but "learn once, write everywhere". They are also working on the Android version. Of course I guess a cross platform framework built on top of that would be possible.

Re: A Deep Dive on React Native [video]

#30
post #17

All of this looks great and I'll give it a try as soon as I get some spare time, but there are a couple of things I didn't understand. 1) Is this cross platform or are you still going to have separate code bases for the UIs of iOS and Android? Looking at the code in the demo there are components like View, Text and Image. As basic as they are, are they the same on iOS and Android (same behaviour, same arguments)? It…

View, Text and Image should be cross-platform, and might even be targeted for web at some point. And more components could be. But they emphasised that you should be able to _choose_ how much code you want to re-use cross-platform, and that you should always put energy in targeting and perfecting for specific platforms
Post reply on HN