News for hackers. Stuff that matters.
Re:React.js Conf live stream [video] by iLoch on Monday February 22, 2016 @04:04PM (#11154273)
Wow the comments in here are awful. How about some constructive discussions folks? If you're not impressed by React or don't think it's useful, what, if anything, can we say or show you to convince you otherwise? I'm assuming that's what you're here - for knowledge - otherwise, why are you here?

I'm glad there have been no major announcements. This isn't an Apple keynote. We should want our tools to be predictable, stable, and paid attention to. Introducing more React stuff would be cool, don't get me wrong. But some of us are actually trying to build products and having stability and feature depth is more important than throwing React at another problem. The React team is fairly small and so they should stick to solving specific problems. There's still lots to be done in React Native.

Looking forward to seeing what the second half of the day brings. A lot of this stuff isn't particularly new to me but that's ok too. It's good to see they're still doing talks which introduce new users.

Re:React.js Conf live stream [video] by Bahamut on Monday February 22, 2016 @04:56PM (#11154594)
The comments are pretty bad both ways, i.e. this whole thread is shameful: https://news.ycombinator.com/item?id=11152864

There's little constructive purpose for these bad faith remarks in threads like that in general (I've probably been guilty of some in the past myself). No need to slam one thing to raise up another - let tools stand on their own merit, and criticize based on that alone.

FWIW, I'm pretty heavily involved in the Angular community, and I respect what Facebook has done in creating & fostering React - I keep an eye on it because I love just about all things frontend on the web, even if I don't use React much (although I might use React Native for an app for a community I am a part of).

Re:React.js Conf live stream [video] by st3v3r on Monday February 22, 2016 @08:09PM (#11155696)
"I'm assuming that's what you're here - for knowledge - otherwise, why are you here?"

To look cool to other developers by shitting all over something.

Re:React.js Conf live stream [video] by coldtea on Tuesday February 23, 2016 @10:04AM (#11159295)
I don't think anybody ends up looking cool -- more like an idiot.

So it's mostly "to vent my frustration for other aspects of my life in needless negativity and aggression in an unrelated topic".

Re:React.js Conf live stream [video] by lopatin on Monday February 22, 2016 @03:32PM (#11154050)
Sorry if I missed it, are there links to any kind of further reading or discussion regarding what Ben Alpert (spicyj) mentioned about implementing layouts in React? I do a lot of render -> dom-measure -> re-render and it's not the greatest. Would love to dive deeper into what the React team has in mind.
Re:React.js Conf live stream [video] by mstade on Monday February 22, 2016 @01:50PM (#11153251)
I'm more and more convinced that Facebook is reinventing Adobe Flex. Not sure whether this is good or bad.
Re:React.js Conf live stream [video] by edko on Monday February 22, 2016 @06:19PM (#11155170)
A big difference is that Facebook is using React in their own products. I don't think they will be as happy to dump the whole thing as soon as there is a slight change in winds, like Adobe did with Flex.

Flex, although still alive thanks to the efforts of a group of unsung heroes, is not a platform on which I would build anything new.

Re:React.js Conf live stream [video] by mstade on Tuesday February 23, 2016 @08:23AM (#11158650)
To be fair, so did Adobe in a lot of theirs. They did bet hard on Flash as a platform; it just wasn't a very good bet, and very little of it went into improving the actual runtime. Instead, they tried putting sugar on top (e.g. Flex) which obviously just added to the bloat. That said, some of that sugar had some interesting ideas going for them, lacking execution notwithstanding.

Obviously I agree with you, I would never build anything new with Flex, or target the Flash runtime; but that's not to say there aren't good lessons to be learned and concepts to be snatched. Hence, the "not sure if good or bad" comment – it depends on what you steal I guess.

Re:React.js Conf live stream [video] by watty on Monday February 22, 2016 @02:43PM (#11153657)
Adobe Flex without Adobe or plugins? Sign me up!
Re:React.js Conf live stream [video] by hex13 on Monday February 22, 2016 @03:01PM (#11153797)
like Angular does. Nothing new.
Re:React.js Conf live stream [video] by ceedan on Monday February 22, 2016 @02:45PM (#11153671)
React runs on Flash 11? Okay.
Re:React.js Conf live stream [video] by nshung on Monday February 22, 2016 @01:00PM (#11152800)
Is there any benefit in learning React Native since I have to write for both Android and iOS platform?
Re:React.js Conf live stream [video] by bgun on Monday February 22, 2016 @01:10PM (#11152889)
Code reuse - I have an dual iOS/Android React Native app and over 90% of the codebase are generic components. Most of the difference are simply stylesheets, for platform-specific UX.

Besides that, there's the incalculable benefit of being able to use the same mental model (to say nothing of programming language) when developing, especially when designing UI components and animations. Even if you had equal skill with building layouts in both systems, there's great advantage in not having to context switch.

Re:React.js Conf live stream [video] by mrspeaker on Monday February 22, 2016 @05:53PM (#11155018)
And having your project live-reload on physical Android and iPhone devices at the same time is so cool!
Re:React.js Conf live stream [video] by Exuma on Monday February 22, 2016 @01:16PM (#11152944)
It's beyond amazing imo. Tricky in some areas but I just launched a pretty complex app in 4 months with 100% attention given to both android + ios, and it was just 1.5 developers (averaged over time).
Re:React.js Conf live stream [video] by manuelflara on Monday February 22, 2016 @02:32PM (#11153576)
Would you mind sharing a link to the app? I haven't seen (that I'm aware of) many apps using React Native.
Re:React.js Conf live stream [video] by sniuff on Monday February 22, 2016 @03:54PM (#11154209)
You could take a look at [1] which features the list of apps using react native.

[1] https://facebook.github.io/react-native/showcase.html

Re:React.js Conf live stream [video] by mdc2161 on Monday February 22, 2016 @08:08PM (#11155682)
Our team threw this together in a couple weekends when we were test driving react native: https://itunes.apple.com/us/app/emergency-kittens-adorable/i...

The ability to reuse code is very real, even sharing a lot with a web react app since most state/business logic is in some flux implementation.

The pain points (documentation, build process, etc.) are real, too, but things I can forgive for now due to its newness and its very strong foundation.

Re:React.js Conf live stream [video] by fareesh on Monday February 22, 2016 @02:09PM (#11153405)
The last time I checked it out, there was no easy way (via some existing component) to do a native dropdown in Android so I gave up. Is there a lot more support for Android these days?
Re:React.js Conf live stream [video] by madeofpalk on Monday February 22, 2016 @06:52PM (#11155332)
The mantra is learn once, write everywhere.
Re:React.js Conf live stream [video] by m2mathew on Monday February 22, 2016 @01:45PM (#11153207)
Someone give Ben Alpert some water to drink!
Re:React.js Conf live stream [video] by spicyj on Monday February 22, 2016 @02:46PM (#11153678)
LOL, thank you.
Re:React.js Conf live stream [video] by jtmarmon on Monday February 22, 2016 @01:49PM (#11153240)
omfg they just did hahahaha
Re:React.js Conf live stream [video] by m2mathew on Monday February 22, 2016 @01:50PM (#11153244)
HACKER NEWS FTW!!
Re:React.js Conf live stream [video] by untog on Monday February 22, 2016 @02:36PM (#11153598)
Something tells me it wasn't related to Hacker News.
Re:React.js Conf live stream [video] by iLoch on Monday February 22, 2016 @03:46PM (#11154165)
We did it re-- HN!
Re:React.js Conf live stream [video] by lightblade on Monday February 22, 2016 @02:31PM (#11153567)
Ah I missed the live stream. Anywhere I can watch a recording of the keynote?
Re:React.js Conf live stream [video] by vjeux on Monday February 22, 2016 @03:06PM (#11153854)
http://conf.reactjs.com/

We put the most up to date version on this page

Re:React.js Conf live stream [video] by tonyle on Monday February 22, 2016 @02:45PM (#11153664)
First thing I see, Content editable, the good parts. I'm expecting a Spreadsheets, the good parts coming next year or two base on the way people keep talking about state.
Re:React.js Conf live stream [video] by spicyj on Monday February 22, 2016 @03:00PM (#11153792)
The rich text editor framework is open source now!

http://facebook.github.io/draft-js/

HN: https://news.ycombinator.com/item?id=11153757

Re:React.js Conf live stream [video] by marknutter on Monday February 22, 2016 @03:04PM (#11153833)
Yet another rich text editor that requires lock-in with a particular library or framework. Web components can't come soon enough.
Re:React.js Conf live stream [video] by spicyj on Monday February 22, 2016 @03:06PM (#11153852)
Well, you definitely don't have to use React for the rest of your app if you don't want to – you can use a Draft component inside any web app.

You could also use the underlying Draft model and manage the view entirely yourself, but React helps a lot here and removes a lot of complexity from Draft.

Re:React.js Conf live stream [video] by marknutter on Monday February 22, 2016 @03:30PM (#11154027)
As opposed to just dropping <draft/> into my page? No thanks.
Re:React.js Conf live stream [video] by tlrobinson on Monday February 22, 2016 @03:44PM (#11154149)
So create a web component that wraps draft.js?
Re:React.js Conf live stream [video] by marknutter on Monday February 22, 2016 @04:12PM (#11154336)
So your answer is to require pulling in an entire view library just to make a simple rich text editor work?

Also, I'm disheartened by the simple, anonymous down votes my comments are receiving rather than actual rebuttals. At least you had the decency to respond.

Re:React.js Conf live stream [video] by ianstormtaylor on Monday February 22, 2016 @04:24PM (#11154403)
You are being downvoted for fairly obvious reasons, so I think most people don't see the need to tell you why:

First, you added a snarky, negative comment as the first response to someone open-sourcing a new library. There's no need for this, especially when spicyj is (as far as I've seen) an extremely gracious open-sourcer. Your comment's core complaint, about library lock-in, was actually a valid complaint, and something that should be discussed. But sadly, the way you brought up the idea means that no one else will want to engage.

Then, you replied to @spicyj's helpful response, which had I been him I probably wouldn't have even bothered with, with another snarky negative comment.

Finally, someone else jumped into the conversation with another solution, and you replied to their comment with a sarcastic non-question. Not only that, but you used a strawman of "to make a simple rich text editor work", when clearly that's not all Draft.js is trying to do.

And then after all of that, you complained about being anonymously downvoted. (And even in lodging that complaint you somehow managed to further subtly insult @tlrobinson.)

---

I actually think your original issue, about library lock-in for text editor's a valid point. I see a lot of work going into separate rich text editors that are all reinventing the same sorts of things, with no clear best solution being developed for real-time use cases like Google Docs or Dropbox Paper. I really wish the perfect, easy solution for those existed.

That said, I'm excited about Draft.js because I think anything that Facebook wants to throw their open-source weight behind will get more love, even if it encourages others to make more competing editor libraries.

Re:React.js Conf live stream [video] by marknutter on Monday February 22, 2016 @07:04PM (#11155385)
You're absolutely right. FWIW, Draft.js looks awesome and I should have expressed my concerns in a more productive way. Thanks for responding.
Re:React.js Conf live stream [video] by danabramov on Monday February 22, 2016 @04:19PM (#11154378)
As far as I know it’s not a “simple” text editor and it solves a pretty complex problem. This might provide you with some additional context:

* https://news.ycombinator.com/item?id=11153935

* https://news.ycombinator.com/item?id=11153945

That said you’re absolutely not “required” to use it. It will be handy to React users because it fits into its component model and thus doesn’t have to implement the reconciliation from scratch. If you don’t use React you might not find it as handy. In this case you might like to use [ProseMirror](https://prosemirror.net/) instead.

Re:React.js Conf live stream [video] by marknutter on Monday February 22, 2016 @04:24PM (#11154406)
Sorry, by simple I meant from the user's perspective. I don't mean to downplay the complexity of the actual implementation; it's a very hard problem to solve which is why I'm lamenting the React dependency.
Re:React.js Conf live stream [video] by pookeh on Monday February 22, 2016 @05:19PM (#11154757)
Would you also complain if Google came out with a rich text editor for Android written in Java? React is more than a library, it's an ecosystem. If you don't want to use the ecosystem use something else. Seriously there are like 50 gazillion other editors out there for you.

Your post to HN is not well thought out. Most of us on HN come to read insightful comments with cinstructive critisicm. I came here to see if anyone is discussing it's architecture, performance, potential extensibility, comparison with other editors like CodeMirror and Quill etc. Your comment, in all honesty, sucked.

Re:React.js Conf live stream [video] by st3v3r on Monday February 22, 2016 @08:19PM (#11155736)
You added absolutely nothing to the conversation. If that particular editor doesn't meet your needs, there are many, many others out there. Just use one of them, and quit complaining.
Re:React.js Conf live stream [video] by draw_down on Monday February 22, 2016 @01:21PM (#11152993)
Highly recommend the "hide chat" button.
Re:React.js Conf live stream [video] by Kiro on Monday February 22, 2016 @02:37PM (#11153610)
I suggest you never visit Twitch if you think this chat is bad.
Re:React.js Conf live stream [video] by draw_down on Monday February 22, 2016 @02:39PM (#11153619)
Roger that!
Re:React.js Conf live stream [video] by tadeegan on Monday February 22, 2016 @11:38PM (#11156592)
Kappa
Re:React.js Conf live stream [video] by untog on Monday February 22, 2016 @12:55PM (#11152749)
Are we expecting any major announcements today in the vein of React Native?
Re:React.js Conf live stream [video] by mklim on Monday February 22, 2016 @01:26PM (#11153032)
The current presenter just said (paraphrased): "Sorry, we don't have any huge announcements this year on the scale of React Native."
Re:React.js Conf live stream [video] by evan_ on Monday February 22, 2016 @01:25PM (#11153026)
No- their three priorities for this year are "execution, execution, execution"
Re:React.js Conf live stream [video] by sgrove on Monday February 22, 2016 @03:03PM (#11153823)
They open-sourced their content-editable component, which sounds very impressive (basically, "let's fix content-editable once and for all")

http://facebook.github.io/draft-js/

Re:React.js Conf live stream [video] by coldtea on Monday February 22, 2016 @03:18PM (#11153942)
For an "let's fix content-editable once and for all" affair, I don't think the initial widget they present on that page could be any more underwhelming.
Re:React.js Conf live stream [video] by spicyj on Monday February 22, 2016 @03:21PM (#11153970)
Thanks, that's valuable feedback. What would you suggest instead?

The goal is that with Draft.js you can easily build any UI you want and Draft.js helps you manage the underlying model and DOM manipulations.

I am sure that several people will build and publish drop-in components using Draft.js within days.

Re:React.js Conf live stream [video] by coldtea on Monday February 22, 2016 @03:23PM (#11153982)
>Thanks, that's valuable feedback. What would you suggest instead?

Well, something closer to CKEditor or, if you prefer minimal, something like the editor in Medium.com.

Re:React.js Conf live stream [video] by Everhusk on Monday February 22, 2016 @02:14PM (#11153436)
I'd say this is a pretty big announcement: https://realm.io/news/introducing-realm-react-native/
Re:React.js Conf live stream [video] by truebosko on Monday February 22, 2016 @01:02PM (#11152816)
I've been using React-Native on the 0.20 branch, so that seems to be the only thing I'd consider coming out.
Re:React.js Conf live stream [video] by brianorwhatever on Monday February 22, 2016 @12:57PM (#11152777)
Glad I can watch from my comfortable office
Re:React.js Conf live stream [video] by mwcampbell on Monday February 22, 2016 @05:44PM (#11154949)
I gather from the slip-up near the end of the Microsoft talk that React Native for Windows isn't here yet, but it's coming. But I'm guessing that will only be for Universal Windows Platform (i.e. mobile and tablet-style) apps, not Win32 desktop applications.
Re:React.js Conf live stream [video] by edko on Monday February 22, 2016 @06:08PM (#11155105)
I'm crossing my fingers for the "one more thing" moment when they will announce that nuclide for React is now available, but it doesn't look likely.
Re:React.js Conf live stream [video] by afarrell on Monday February 22, 2016 @07:57PM (#11155634)
I thought nuclide was released several months ago.
Re:React.js Conf live stream [video] by edko on Monday February 22, 2016 @09:43PM (#11156099)
It was, but the React support is still pending.
Re:React.js Conf live stream [video] by mgleason_3 on Tuesday February 23, 2016 @12:23AM (#11156783)
Too bad I missed it - anyone know where we can watch a replay?
Re:React.js Conf live stream [video] by ausjke on Monday February 22, 2016 @02:00PM (#11153342)
nice, hope these videos will be archived for later watching.
Re:React.js Conf live stream [video] by vjeux on Monday February 22, 2016 @02:58PM (#11153775)
they will
Re:React.js Conf live stream [video] by dsp1234 on Monday February 22, 2016 @01:00PM (#11152796)
Note that the URL of the live stream appeared to be wrong for me.

was: https://www.youtube.com/watch?v=0fCEeAgeRC0

should be: https://www.youtube.com/watch?v=pi62S_MvheE

Re:React.js Conf live stream [video] by dang on Monday February 22, 2016 @01:02PM (#11152820)
Thanks. How about we just change the URL from http://conf.reactjs.com/ to the latter.
[dead]
Re:React.js Conf live stream [video] by coldtea on Monday February 22, 2016 @03:22PM (#11153973)
Yes, but alas you have so much greater things to care about than us, that it's surprising you even took the time to comment on this thread.
[dead]
Re:React.js Conf live stream [video] by st3v3r on Monday February 22, 2016 @08:22PM (#11155747)
No, it's not. Not when what you're saying is doing absolutely nothing for the conversation, and really is just shitting on the work of others to make yourself look cool.
[dead]
Re:React.js Conf live stream [video] by dang on Tuesday February 23, 2016 @01:17AM (#11156952)
Your comments here are breaking the HN guidelines. Please post civilly and substantively, or not at all.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html

[dead]
Re:React.js Conf live stream [video] by glibgil on Monday February 22, 2016 @01:21PM (#11152997)
Makes sense. I'd be proud if I was behind React and humble if I was behind Angular
Re:React.js Conf live stream [video] by marknutter on Monday February 22, 2016 @03:05PM (#11153838)
You're comparing the wrong things. The correct comparison would be with Polymer, which Google is pouring far more resources into than Angular.
Re:React.js Conf live stream [video] by glibgil on Monday February 22, 2016 @03:40PM (#11154117)
I'd be humble about Polymer too
Re:React.js Conf live stream [video] by coldtea on Tuesday February 23, 2016 @10:10AM (#11159346)
I don't see Polymer going anywhere either. The hype about web components have been drowned by React, which is here, now, and also solves several other issues that web components don't solve (especially along with something fluxy).
Re:React.js Conf live stream [video] by brianvaughn on Tuesday February 23, 2016 @12:09AM (#11156721)
Citation needed.
Re:React.js Conf live stream [video] by gooddoob on Monday February 22, 2016 @01:35PM (#11153114)
Google is trying to make web better by bringing things like Service Workers not by releasing Libraries.
Re:React.js Conf live stream [video] by gooddoob on Monday February 22, 2016 @01:37PM (#11153132)
Make sense now?
Re:React.js Conf live stream [video] by m2mathew on Monday February 22, 2016 @01:15PM (#11152940)
I would expect a company hosting their own conference to be excited about it!
Re:React.js Conf live stream [video] by coldtea on Monday February 22, 2016 @03:20PM (#11153955)
Yeah, especially the Go guys /s.
Re:React.js Conf live stream [video] by wangii on Monday February 22, 2016 @01:24PM (#11153021)
Except golang team, who else from google provided competitive SDK, framework, library to developers?
Re:React.js Conf live stream [video] by dominotw on Monday February 22, 2016 @01:27PM (#11153044)
Yea Rob Pike is a really humble person.
Re:React.js Conf live stream [video] by mundanevoice on Monday February 22, 2016 @01:10PM (#11152887)
I agree!
Re:React.js Conf live stream [video] by mundanevoice on Monday February 22, 2016 @02:26PM (#11153528)
Fanboyism is such a hip with HN crowd. Not ready to listen to anything, as if downvotes and upvotes could really do anything!