private _handleUpdate()

in src/ComponentBase.ts [93:101]


    private _handleUpdate(nextProps: Readonly<P>, incomingState: Readonly<S>): Partial<S> | null {
        if (!Options.shouldComponentUpdateComparator(this.props, nextProps)) {
            const newState = this._buildStateWithAutoSubscriptions(nextProps, incomingState, false);
            if (newState && Object.keys(newState).length) {
                return newState;
            }
        }
        return null;
    }