I'm reading an old project using react class component and they use connect from react-redux like this:
@pageAntdLayout
@injectIntl
@connect
class List extends Component {
....
}
Then I try to find the way using connect from react-redux, it's used like a Higher Order Component, e.g. connect(Component).
So I really wonder is this the way to using HOC in class component?