HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
Facebook Developers Live Stream

Facebook Developers · Youtube · 168 HN points · 2 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention Facebook Developers's video "Facebook Developers Live Stream".
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
Feb 23, 2016 · 1 points, 0 comments · submitted by tilt
Feb 22, 2016 · tevlon on None
i think this is the right link :

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

Feb 22, 2016 · 167 points, 80 comments · submitted by tilt
lopatin
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.
mstade
I'm more and more convinced that Facebook is reinventing Adobe Flex. Not sure whether this is good or bad.
watty
Adobe Flex without Adobe or plugins? Sign me up!
hex13
like Angular does. Nothing new.
ceedan
React runs on Flash 11? Okay.
edko
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.

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

nshung
Is there any benefit in learning React Native since I have to write for both Android and iOS platform?
Exuma
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).
manuelflara
Would you mind sharing a link to the app? I haven't seen (that I'm aware of) many apps using React Native.
mdc2161
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.

sniuff
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

None
None
fareesh
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?
madeofpalk
The mantra is learn once, write everywhere.
bgun
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.

mrspeaker
And having your project live-reload on physical Android and iPhone devices at the same time is so cool!
m2mathew
Someone give Ben Alpert some water to drink!
jtmarmon
omfg they just did hahahaha
m2mathew
HACKER NEWS FTW!!
untog
Something tells me it wasn't related to Hacker News.
iLoch
We did it re-- HN!
None
None
spicyj
LOL, thank you.
lightblade
Ah I missed the live stream. Anywhere I can watch a recording of the keynote?
None
None
vjeux
http://conf.reactjs.com/

We put the most up to date version on this page

tonyle
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.
spicyj
The rich text editor framework is open source now!

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

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

marknutter
Yet another rich text editor that requires lock-in with a particular library or framework. Web components can't come soon enough.
spicyj
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.

marknutter
As opposed to just dropping <draft/> into my page? No thanks.
tlrobinson
So create a web component that wraps draft.js?
marknutter
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.

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

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

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

marknutter
You're absolutely right. FWIW, Draft.js looks awesome and I should have expressed my concerns in a more productive way. Thanks for responding.
draw_down
Highly recommend the "hide chat" button.
Kiro
I suggest you never visit Twitch if you think this chat is bad.
tadeegan
Kappa
draw_down
Roger that!
untog
Are we expecting any major announcements today in the vein of React Native?
evan_
No- their three priorities for this year are "execution, execution, execution"
sgrove
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/

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

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

Everhusk
I'd say this is a pretty big announcement: https://realm.io/news/introducing-realm-react-native/
truebosko
I've been using React-Native on the 0.20 branch, so that seems to be the only thing I'd consider coming out.
mklim
The current presenter just said (paraphrased): "Sorry, we don't have any huge announcements this year on the scale of React Native."
brianorwhatever
Glad I can watch from my comfortable office
mwcampbell
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.
edko
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.
afarrell
I thought nuclide was released several months ago.
edko
It was, but the React support is still pending.
None
None
mgleason_3
Too bad I missed it - anyone know where we can watch a replay?
ausjke
nice, hope these videos will be archived for later watching.
vjeux
they will
dsp1234
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

dang
Thanks. How about we just change the URL from http://conf.reactjs.com/ to the latter.
jbeja
I would like to be excited for irrelevant things like this as most people on this thread.
coldtea
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.
jbeja
The time I took to write this comments are meaningless compare of the time that it would took me to watch the whole thing. And what I have to say is more important than anything else for me.
st3v3r
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.
jbeja
"No, it's not."

You don't tell what to believe.

The extreme fanboyism of this site makes me cringe so hard that it triggered me. Can't be helped.

dang
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

gooddoob
Facebook developers are arrogant. Developers from google are more humble and down to earth!
m2mathew
I would expect a company hosting their own conference to be excited about it!
coldtea
Yeah, especially the Go guys /s.
wangii
Except golang team, who else from google provided competitive SDK, framework, library to developers?
dominotw
Yea Rob Pike is a really humble person.
mundanevoice
I agree!
mundanevoice
Fanboyism is such a hip with HN crowd. Not ready to listen to anything, as if downvotes and upvotes could really do anything!
glibgil
Makes sense. I'd be proud if I was behind React and humble if I was behind Angular
gooddoob
Google is trying to make web better by bringing things like Service Workers not by releasing Libraries.
gooddoob
Make sense now?
marknutter
You're comparing the wrong things. The correct comparison would be with Polymer, which Google is pouring far more resources into than Angular.
brianvaughn
Citation needed.
glibgil
I'd be humble about Polymer too
coldtea
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).
truckle
https://www.youtube.com/watch?v=pi62S_MvheE seems to work better
iLoch
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.

None
None
st3v3r
"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.

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

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

HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.