News for hackers. Stuff that matters.
Re:How Does setState Know What to Do? by TheAceOfHearts on Saturday December 08, 2018 @10:59PM (#18639187)
FYI, this is Dan Abramov's blog. He's one of the developers working on the React team. I'd highly suggest checking out his other posts if you use React, they're all superb.
Re:How Does setState Know What to Do? by kaycebasques on Saturday December 08, 2018 @11:38PM (#18639331)
I do the DevRel* for Chrome DevTools. Dan is remarkably good at DevRel. I've pinged him on a few occasions, and to my recollection he's always replied very promptly, always with a helpful answer. My impression is that he's like that with anyone who has a reasonably well-thought-out question. Which, if true, is amazing considering the size of the React community. Aside from React's own merits, I would wager that Dan's DevRel superpowers have been a non-trivial factor in React's success.

* Developer relations, on the off chance anyone is unfamiliar with the term. A DevRel team for a developer product like React would be in charge of communicating new features, changes, best practices, etc. to the React developer community, answering technical questions on how to use React, and relaying community feedback to the React team.

Re:How Does setState Know What to Do? by franciscop on Sunday December 09, 2018 @12:03AM (#18639416)
I just learned that DevRel is a thing, I just thought it is a non-trivial part of a normal project but not that it was categorized separately (or I'd call it tech advocate). Not only that, I think that DevRel is the best indicator of success of any project! Basic design, documentation, etc are needed, but once those are covered it's DevRel what sets projects success apart.

Famous DevRel I know and what they've been promoting to great success:

- Dan Abramov, Redux and React.

- Evan You, Vue.js

- Lea Verou, Prism, Bliss and CSS in general.

- "@dhh", Ruby on Rails.

- Sindre Sorhus, npm and indie JS.

Note: I just say they have greatly helped to the success, no that these are their projects.

On the other hand, we all know some projects that succeed despite their founders being really bad at DevRel... but those are so rare and basically just put a lot of efforts in something related but not the same (marketing, first to the market, 10x better technically, etc).

My main focus right now is learning how to get better at this since I'd love to do OSS fulltime. Any tip on how to get there would be greatly appreciated. I'm trying to learn mainly from Dan and Evan since IMHO they are next-level in this specific area :)

PS, since you work for Chrome DevTools, I imagine you are in Google. I think, besides the issues of Angular 1->2, the real reason Angular stayed behind is that there were no highly visible DevRels.

Re:How Does setState Know What to Do? by danabramov on Sunday December 09, 2018 @07:41AM (#18640595)
FWIW my job role is just software developer. I try to help people because I like being a part of the community and like explaining things to others that somebody explained to me. But I’m not officially a DevRel. Although I guess I fit the shoes.
Re:How Does setState Know What to Do? by kaycebasques on Sunday December 09, 2018 @01:22PM (#18642340)
Right, didn’t mean to imply that you only did DevRel. I think most React users know that you’re on the core team. Just wanted to suggest to the general HN community that your consistent efforts around helping the React community might be a factor of React’s success. Whenever there’s a post here on HN about why framework A is a success whereas framework B is a flop, the focus is usually on technical factors or developer ergonomics.
Re:How Does setState Know What to Do? by jsjohnst on Sunday December 09, 2018 @10:05AM (#18641128)
> But I’m not officially a DevRel. Although I guess I fit the shoes.

Those are usually the best DevRel folks imho. Love the work you do!

Re:How Does setState Know What to Do? by mcintyre1994 on Sunday December 09, 2018 @08:44AM (#18640815)
Taylor Otwell with Laravel definitely fits this category too.
Re:How Does setState Know What to Do? by emilsedgh on Sunday December 09, 2018 @01:11AM (#18639645)
- RhodiumToad on Postgres
Re:How Does setState Know What to Do? by sorahn on Sunday December 09, 2018 @11:57AM (#18641823)
Is there any way (other than the chrome bug tracker) for devs to talk to you guys about Dev tool bugs, or suggestions?

There are definitely some lingering low pri bugs in the issue tracker that would improve the QoL that would really help the dev tools experience.

Example: https://bugs.chromium.org/p/chromium/issues/detail?id=771144

This happens every time. So I just stopped moving the tabs, but if the dev tools are not wide enough to show the (ever increasing) number of tabs, it’s always the 3rd party ones that get pushed off.

Re:How Does setState Know What to Do? by bostonvaulter2 on Sunday December 09, 2018 @12:56PM (#18642192)
I would LOVE if this was fixed in Chrome.
Re:How Does setState Know What to Do? by scumblr on Saturday December 08, 2018 @11:48PM (#18639368)
I love getting the inside view. Dan's asides about how the team decided to use this or that approach are priceless.
Re:How Does setState Know What to Do? by max23_ on Sunday December 09, 2018 @01:42AM (#18639731)
Never knew he started a blog until recently when someone posted his blog post on how React tell a class from a function.

Good stuff if you want to know how React work internally.

Re:How Does setState Know What to Do? by eddyerburgh on Sunday December 09, 2018 @04:39AM (#18640092)
That's because he only started it recently. His first post was November 30 this year, and he already has 5 high-quality articles!