Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spicyj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
spicyj
9y ago
> Fun fact: you cannot block Mark Zuckerberg on Facebook. It just won't let you. This was fixed months ago (and was a technical problem that affected anyone blocked by many thousands of people, not just him). It wasn't intended
32.
▲
by
spicyj
9y ago
How do you synthetically alter the frequencies of letters?
33.
▲
by
spicyj
9y ago
It’s most often used when an idea is far _under_ the explainee’s head to the point that any explanation is absurdly unnecessary. That is, mansplaining usually refers to explaining while incorrectly assuming the incompetence of women.
34.
▲
by
spicyj
9y ago
Higher order components have been a common pattern since early 2015. https://medium.com/@dan_abramov/mixins-are-dead-long-live-hi... (And like others said, they are relatively simple and draw heavily on prior principle
35.
▲
by
spicyj
9y ago
Why is that?
36.
▲
by
spicyj
9y ago
Let's keep the discussion on that thread – I just responded there.
37.
▲
by
spicyj
9y ago
When you see that the props have changed, what do you do? (You said you do "something".) If you are updating the state of that component, that's exactly what the new getDerivedStateFromProps is designed for. If you are doin
38.
▲
by
spicyj
9y ago
Note that we have no current plans to deprecate componentWillUnmount. (Edit: Parent originally said "componentWill*" deprecated.)
39.
▲
by
spicyj
9y ago
The usual 2FA input should work. Do you mind mailing me (username sophiebits, domain fb.com) your email or a link to your FB profile so I can have someone look into this? A screenshot of the input field that you see would also be helpful.
40.
▲
by
spicyj
9y ago
Hi, I’m Sophie and I work at Facebook. The behavior here was not intentional, and we deployed a fix today so that a login that fails 2FA (even with a correct password) will not result in the reactivation of a deactivated account. Thanks for
41.
▲
by
spicyj
9y ago
No worries, I was just confused what you meant. :)
42.
▲
by
spicyj
9y ago
Were we not talking about componentWillReceiveProps, not shouldComponentUpdate?
43.
▲
by
spicyj
9y ago
What is the alternative? For when you have a stateful component that "reacts" to new parameters.
44.
▲
by
spicyj
9y ago
Yeah. https://www.usenix.org/conference/srecon16/speaker-or-organi...
45.
▲
by
spicyj
9y ago
AGPL is unlike other licenses in that it actually would matter if they use it on their servers.
46.
▲
by
spicyj
9y ago
IIRC you can edit what portion is slowed down in the video editing UI on device after the video is saved.
47.
▲
by
spicyj
9y ago
Recent iPhone cameras (and high-end Android too, I assume) can take video at 240fps so you won't need to buy anything extra if you have one.
48.
▲
by
spicyj
9y ago
For the record, most of Facebook’s app is not currently built in React Native so please don’t use it to judge RN. I could go into why FB app quality ends up low but don’t think it’s that relevant to this discussion. And FWIW Facebook probab
49.
▲
by
spicyj
9y ago
That's really helpful to know for the future, thanks! We didn't have a strong preference so ended up with FB.
50.
▲
by
spicyj
9y ago
We aren't sure if we'll have time to build it ourselves (vs finding external contributors to build support and upstream it) but this design should handily address the long-standing requests to wait for async data during SSR. We th
51.
▲
by
spicyj
9y ago
Note that the video embedded in the post is higher quality. :) Useful discussion link, thanks.
52.
▲
by
spicyj
9y ago
Sorry if the tone was a bit much! I figured it would be helpful to establish common terminology that people can refer to, and I'm serious about our excitement here – not exaggerating.
53.
▲
by
spicyj
9y ago
FYI: A higher quality version of this video is on the React blog at https://reactjs.org/blog/2018/03/01/sneak-peek-beyond-react-... .
54.
▲
by
spicyj
9y ago
Call us up if you have any advice!
55.
▲
by
spicyj
9y ago
> Can we re-write parts of libraries like Vue or React in something that compiles to wasm, so that you get better performance as the user? For React, we would love to do this although it's not clear what parts of React would benefit
56.
▲
by
spicyj
9y ago
Why isn't text rendering supported?
57.
▲
by
spicyj
9y ago
https://reactjs.org/blog/2017/09/26/react-v16.0.html
58.
▲
by
spicyj
9y ago
We did away with those recently because people found them confusing. https://reactjs.org/blog/2017/12/15/improving-the-repository... details that change and some other recent ones.
59.
▲
by
spicyj
9y ago
I mean, sure – I added TopLevelWrapper so it's still my "fault", but it's not as relevant any more since most people are on React 16.
60.
▲
by
spicyj
9y ago
(I work on React.) Note that this is based on React 15.6.2, an older version of React. In React 16 we rewrote almost the entire codebase so that one may be more interesting to look at, depending on your goals. I guess – just don't blam
More ›