Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zpao
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
zpao
2y ago
Hi, Paul from the Open Source Team here at Meta. HHVM is still in use and there are no changes to the level of maintenance the open source project gets. There's no conspiracy, no quiet quitting. The reality is that we just had some iss
2.
▲
by
zpao
4y ago
Rome is a completely separate project that Meta no longer owns. You can check https://rome.tools/ for the project status.
3.
▲
by
zpao
10y ago
Hi, Paul from the React team here. There have been lots of questions about the license+patents combo we use. Recently our legal team answered some of those questions. https://code.facebook.com/license-faq
4.
▲
by
zpao
10y ago
It was the right decision at the time - it made React much more familiar for people at FB who were writing PHP/Hack (Dan called this familiarity out in the post). It also enabled some great things that are still awkward with other patt
5.
▲
by
zpao
10y ago
No we've known and said it for a long time but not very loudly. People haven't used them sparingly and they tend to infect a codebase. Now we're just making a more concerted effort to communicate more broadly that they can be
6.
▲
by
zpao
11y ago
Another way, which we actually supported in 0.13, was to turn on "pause on caught exceptions" in your debugger. We throw and catch a warning so that you could catch warnings live. We continue to do that now, just with the added be
7.
▲
by
zpao
11y ago
They're only needed if you don't start your JSX expression on the same line as the return.
8.
▲
by
zpao
11y ago
FWIW, https://github.com/facebook/react/blob/master/package.json is not actually the package.json we ship to npm. This is just for building. https://github.com/facebook/react/bl
9.
▲
by
zpao
11y ago
> Might lead to a SpiderMonkey version of Node.js at some point, too. I worked on that 4 years ago :) < http://zpao.com/posts/about-that-hybrid-v8monkey-engine/> . The Node community at the time wasn't
10.
▲
by
zpao
12y ago
No sample code yet and yes it will be open sourced.
11.
▲
by
zpao
12y ago
iOS and android right now. And yes, native components can be rendered directly with JSX. And you won't need to mix with DOM. <h2> For example doesn't mean anything on iOS.
12.
▲
by
zpao
12y ago
No, it skips the DOM entirely and works with native elements (iOS views) directly.
13.
▲
by
zpao
12y ago
It is worth considering, but it's often worth finding out what the cure is before writing it off. You have to make the right tradeoffs (eg, when working on a tight deadline, it's probably not the right call to go off into the weed
14.
▲
by
zpao
12y ago
Maybe. We're still working on the details about what that will look like. Chances are we'll have some basic support if you're doing a limited set of things. Stay tuned.
15.
▲
by
zpao
12y ago
Mostly what @BinaryBullet said. fb.me is a urlshortener and then it hits real CDNed files. I (as maintainer of React) suggest not actually using fb.me urls in production. Use cdnjs or jsdelivr. Or host it yourself. We've been meaning t
16.
▲
by
zpao
12y ago
So long as you know the colors in [0] are all just the hardcoded CSS "standard" colors, then great :) There are some "awesome" ones there (papayawhip, lightgoldenrodyellow) and the history of how they came to be (via X11
17.
▲
by
zpao
12y ago
AFAIK You're taxed on receiving stock as if it were income. This is regardless of if you sell it today, tomorrow, or never. After that you're only taxed on gains. If you sold on the day of reception, then your gains/losses ar
18.
▲
by
zpao
13y ago
You could actually do this without a single change to the JSX transform, and instead just make a simple object that calls m() with the right params. Then you just change the @jsx pragma to point at that object. With a complete array of elem
19.
▲
by
zpao
13y ago
Sorry to get your hopes up! I'll try to remember to make it a bit more obvious next time.
20.
▲
React v0.8 is out
(facebook.github.io)
96 points
by
zpao
13y ago
|
15 comments
21.
▲
by
zpao
13y ago
No, they aren't. Taking a look at the first one on the list... the latest version was published in 2011.
22.
▲
by
zpao
13y ago
The trick is to use rawgithub.com (where you would otherwise see raw.github.com) - http://rawgithub.com/pinterest/cloudgrid/master/example/inde...
23.
▲
Do We Need Node?
(zpao.com)
9 points
by
zpao
13y ago
|
5 comments
24.
▲
Use React and JSX in Python Applications
(facebook.github.io)
3 points
by
zpao
13y ago
|
0 comments
25.
▲
Use React and JSX in Ruby on Rails
(facebook.github.io)
2 points
by
zpao
13y ago
|
0 comments
26.
▲
by
zpao
13y ago
I tried that once, very shortly after open on a Wednesday. The wait was 2-3 hours. It's a popular place.
27.
▲
by
zpao
13y ago
You're more than welcome to use XHR however you see fit. We don't dictate that choice. For many that will mean `$.ajax` - React plays nicely with jQuery (so long as you don't modify the DOM out from under us). For others that might mean a t
28.
▲
by
zpao
13y ago
What this actually returns is a lightweight DOM-like structure. The framework then uses that to make modifications to the real DOM. In the case of the first render that's going to mean setting innerHTML of something. After that though, if
29.
▲
by
zpao
13y ago
Thanks for taking the time to follow this conversation through :) We've spent a lot of time getting the docs to where they are today, but there's always more to do. We have more planned but think we got a pretty good point for our initial p
30.
▲
by
zpao
13y ago
> This breaks code editors, static analysis tools like jshint etc. You're right. One of our goals in the coming months is to try to make some language files for editors. Vim actually does a pretty good job of this already thanks to the
More ›