lot of conventions • caveats need to be taken care of • For more information: https://reactjs.org/docs/higher-order-components.html#use-hocs-for-cross-cutting- concerns
with React.PureComponent) • Top-down dependencies is clear in the render tree • it’s a technique not a new api, it works exactly the same as a normal component • HOC: the argument is not props but a component • Mixin: doesn’t render
troubles when the app scale and complexity raised • HOCs: many conventions and caveats / wrapper hell • render props: JSX specific / wrapper hell • hooks: a new way of thinking when writing web apps