In the section on higher-order-components:
var enhanceComponent = (Component) =>
class Enhance extends React.Component {
render() {
return (
<Component
{...this.state}
{...this.props}
/>
)
}
};
Shouldn't `{...this.state}` be considered an anti-pattern?