call parent static function - react-atomic/reshow GitHub Wiki

Explain how to call ReshowComponent static function (calculateState and getStores)

In your class

        let superData;
        if (super.constructor.calculateState) {
            superData = super.constructor.calculateState(prevState);
        } else {
            superData = super.calculateState(prevState);
        }

After Babel compile

        var superData = void 0;
        if (_ReshowComponent.constructor.calculateState) {
            superData = _ReshowComponent.constructor.calculateState(prevState);
        } else {
            superData = _ReshowComponent.calculateState.call(this, prevState);
        }