News for hackers. Stuff that matters.
Re:Migrating to React’s New Context API by chacham15 on Tuesday April 24, 2018 @05:34AM (#16911162)
This is actually addressing something that you cant really easily do in other frameworks (or even previously in React). The idea is to return control of rendering to the caller rather than have the component be responsible for fully rendering the entire thing. I.e. a toggle component only knows how to toggle and you can choose what goes in it. Ryan Florence has a much better illustration of why you'd want to do this: https://www.youtube.com/watch?v=hEGg-3pIHlE
Re:Migrating to React’s New Context API by romanovcode on Tuesday April 24, 2018 @06:00AM (#16911257)
Just a side note while watching that video. Seems to me that video could be 10 minutes if he would use Sublime, VS or Atom.

Does he uses VIM just to show-off? Seems like everything is super slow because of it.

Re:Migrating to React’s New Context API by hamstercat on Tuesday April 24, 2018 @09:09AM (#16912205)
I would not attribute malice to such an insignificant detail. My guess would be that he prefers VIM over the others. I prefer VS Code myself, but an editor is a very personal choice for a developer.
Re:Migrating to React’s New Context API by vuldin on Tuesday April 24, 2018 @08:20AM (#16911895)
He's not showing off. He used vs code for a while but I believe got frustrated with issues, so he went back to something more stable and familiar for him. I can't blame him there.
Re:Migrating to React’s New Context API by subbu on Tuesday April 24, 2018 @12:18PM (#16913937)
He heard you. Check this video: https://courses.totalreact.com/courses/250055/lectures/38973.... The content is same, a bit refined, but the length is 34:51.
Re:Migrating to React’s New Context API by root_axis on Tuesday April 24, 2018 @10:31AM (#16912860)
Seems to me that vim is superior to the alternatives you listed, but that's just my opinion.
Re:Migrating to React’s New Context API by romanovcode on Tuesday April 24, 2018 @10:42AM (#16912948)
Seemed to me he was struggling with VIM usage. I never said VIM is worse/better.
Re:Migrating to React’s New Context API by root_axis on Tuesday April 24, 2018 @10:46AM (#16912983)
Just a friendly editor war jab :)