I may be missing something, but I can\'t find any example where connect() wraps a component defined as a class (extending React.Component), it always
connect()
React.Component
You can wrap a React component, whether it's a class or a functional component, with react-redux connect.
connect
class MyDiv extends React.Component { render() { return hi } } export default connect(({ stateStuff }) => ({ stateStuff }))(MyDiv);