Hacker News new | ask | show | jobs
by chacham15 2983 days ago
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
1 comments

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.

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.
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.
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.
Seems to me that vim is superior to the alternatives you listed, but that's just my opinion.
Seemed to me he was struggling with VIM usage. I never said VIM is worse/better.
Just a friendly editor war jab :)