Live data from Hacker News

React v0.14 Beta 1 released

facebook.github.io

21–30 of 62 posts

Re: React v0.14 Beta 1 released

#21
Aren't these two changes in conflict with each other?

One change remove assumption about DOM as rendered target, while another change means DOM must be the rendered target.

Requiring ReacDOM.findDOMNode(ref) should be what they do if they want to encourage multiple rendering target.

Re: React v0.14 Beta 1 released

#22

we looked at what you can do with a ref to a DOM component and realized that the only useful thing you can do with it is call this.refs.giraffe.getDOMNode() to get the underlying DOM node. In this release, this.refs.giraffe is the actual DOM node. This only holds if you use Facebook's particular flavour of Flux, I guess. Personally, I use refs a lot to bubble events down the component hierarchy. For example, when the…

[deleted]

Re: React v0.14 Beta 1 released

#23
post #11

If you haven't already, you should be betting on React. It's the future: > More importantly, this paves the way to writing components that can be shared between the web version of React and React Native. This isn't yet easily possible, but we intend to make this easy in a future version so you can share React code between your website and native apps. Isn't this what we have all been waiting for? Writing components t…

> It's the future

I've heard that too many times to not be cynical about it.

Re: React v0.14 Beta 1 released

#24
post #11

If you haven't already, you should be betting on React. It's the future: > More importantly, this paves the way to writing components that can be shared between the web version of React and React Native. This isn't yet easily possible, but we intend to make this easy in a future version so you can share React code between your website and native apps. Isn't this what we have all been waiting for? Writing components t…

It's the future

http://blog.circleci.com/its-the-future/

Re: React v0.14 Beta 1 released

#25
post #11

If you haven't already, you should be betting on React. It's the future: > More importantly, this paves the way to writing components that can be shared between the web version of React and React Native. This isn't yet easily possible, but we intend to make this easy in a future version so you can share React code between your website and native apps. Isn't this what we have all been waiting for? Writing components t…

  > Isn't this what we have all been waiting for?
God no. It's just backwards.

Re: React v0.14 Beta 1 released

#26
post #15

Earlier quoted context omitted.

Cross platform tools always make compromises. I’d rather write native code than have a framework that does it for me.

I'm not convinced that's true. I do agree to the extent that things like PhoneGap do result in compromises. But React Native is basically a templating tool for native apps – you're still free to write whatever native components you require, but can compose these using React, which is pretty cool. You can then abstract the higher-level components across platforms.

Why would I want to compose native using React?

Re: React v0.14 Beta 1 released

#27
post #11

If you haven't already, you should be betting on React. It's the future: > More importantly, this paves the way to writing components that can be shared between the web version of React and React Native. This isn't yet easily possible, but we intend to make this easy in a future version so you can share React code between your website and native apps. Isn't this what we have all been waiting for? Writing components t…

It's the future http://blog.circleci.com/its-the-future/

... like HN in a nutshell.

Re: React v0.14 Beta 1 released

#28
post #11

If you haven't already, you should be betting on React. It's the future: > More importantly, this paves the way to writing components that can be shared between the web version of React and React Native. This isn't yet easily possible, but we intend to make this easy in a future version so you can share React code between your website and native apps. Isn't this what we have all been waiting for? Writing components t…

> It's the future I've heard that too many times to not be cynical about it.

I've leaned to stop caring about fads until they become a reality in project requirements.

Re: React v0.14 Beta 1 released

#29
I am using/loving React a lot and is already in several production apps I am working on (thanks for awesome work Facebook!) but I don't fully get this release.

I feel it's a bit premature to separate `react` and `react-dom`. React has proven itself for the web but still has to prove itself as `react-native` and I don't get the friction/complexity being added by break it down into two components for the web. I feel React is more the rendering engine `react-dom` than the class/component system now `react`. What makes React beautiful is to be able to freely mix html into JS and not being limited to the render() call, so I feel the cut is a bit non-organic.

Finally, I love the approach `learn once, write anywhere` but having `react` as a thing by itself points (or at least confuses) to a workflow where you can write components by themselves then plug a rendering engine DOM or native, I don't think that's the initial intent and I don't think that's the intent now of this release as well but it's unnecessary confusing.

[Edit] Don't fully get why I've been downvoted.

Re: React v0.14 Beta 1 released

#30
post #11

If you haven't already, you should be betting on React. It's the future: > More importantly, this paves the way to writing components that can be shared between the web version of React and React Native. This isn't yet easily possible, but we intend to make this easy in a future version so you can share React code between your website and native apps. Isn't this what we have all been waiting for? Writing components t…

It's the future http://blog.circleci.com/its-the-future/

:) Did you see this one? https://medium.com/@boopathi/it-s-the-future-7a4207e028c2
Post reply on HN