Both render props and higher-order components render only a single child but in most of the cases Hooks are a simpler way to serve this by reducing nesting in your tree.
React esencial#51 · Preguntas adaptadas de sudheerj/reactjs-interview-questions (MIT)
Do Hooks replace render props and higher order components?
Traducción al español en progresoEl contenido detallado de esta lección aún se está traduciendo. Mientras tanto, se muestra en inglés.
¿Qué tan bien recordaste esto?