Flux(React) - Error connecting a Class components into a view using (Container.creare())

I'm trying to use Flux in my react project and it is working fine connecting a stateless functions into a view using "Container.createFunctional()", but it throws an error connecting a Class component using "Container.create()"

My Code

class HomeViewContainer extends Component {
  static getStores() {
    return [ContactsStore];
  }
  static calculateState(prevState, props) {
    const state = {
      //states
      counter: ContactsStore.getState(),
      //actions
      increment: ContactActions.increment,
    };
  }
  render() {
    return <HomeView {...this.state}></HomeView>;
  }
}
export default Container.create(HomeViewContainer);

Error

TypeError: Class constructor HomeViewContainer cannot be invoked without 'new'
PureComponent.ContainerClass
node_modules/flux/lib/FluxContainer.js:129
  126 | 
  127 | _classCallCheck(this, ContainerClass);
  128 | 
> 129 | _Base.call(this, props, context);
      | ^  130 | this._fluxContainerSubscriptions = new FluxContainerSubscriptions();
  131 | this._fluxContainerSubscriptions.setStores(getStores(props));
  132 | this._fluxContainerSubscriptions.addListener(function () {

It would be great to get some help to solve this issue.