4 ms·
To do everything, you write your own extension of the base component as a higher order component with custom code.
by davidjnelson 9y ago
To do everything, you write your own extension of the base component as a higher order component with custom code.
- pwm 9y agoNot entirely sure what do you mean by “higher order components” but what you seem to describe would lead to the same problems we had with inheritance in various oop languages.
- davidjnelson 9y agohttps://reactjs.org/docs/higher-order-components.html https://reactjs.org/docs/higher-order-components.html