In episode 18 of the React Round Up podcast, Alex Moldovan articulates something I’ve been feeling lately, as I dive deeper into the modern JavaScript world:
In the React community, developers are perfectionists, and they always need to have the best practice implemented in their project. If it’s not the best practice then it’s obsolete. There’s this constant running for the best practice.
But there are these good practices out there; it’s not necessarily that this one is the best. Between “render props” and “higher order components” I wouldn’t necessarily say that one is better than the other. They are both good options for composition; there are cases in which one is better, and cases in with the other one is better.
It’s up to you to make that choice.
Sadly, I see that a lot of people need to have that choice done by others, and need others to tell them, “this is the best practice, this is how you have to do it.”