code: function (newProps) {
        var value = this._or(ensureArray(newProps.value), this.state.value);
  
        // ensure the array keeps the same size as `value`
        this.tempArray = value.slice();
  
        for (var i = 0; i < value.length; i++) {
          this.state.value[i] = this._trimAlignValue(value[i], newProps);
        }
        if (this.state.value.length > value.length)
          this.state.value.length = value.length;
  
        // If an upperBound has not yet been determined (due to the component being hidden
        // during the mount event, or during the last resize), then calculate it now
        if (this.state.upperBound === 0) {
          this._resize();
        }
      }
docs: Keep the internal `value` consistent with an outside `value` if present. This basically allows the slider to be a controlled component.