hunk.code_window:     }
       this.updateProps(props)
     }
     updateProps(props, force = false) {
       // Springs can be destroyed, the "destroyed" flag prevents them from ever
       // updating further, they'll just animate out and function no more ...
       if (this.destroyed && props.destroyed) return
       this.destroyed = props.destroyed
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:   updateProps(props, force = false, didInject = false) {
  
hunk.file_path: src/Spring.js
hunk.type: replace
file: import Animated from './Animated'
  import AnimatedValue from './AnimatedValue'
  import AnimatedWithChildren from './AnimatedWithChildren'
  
  export default class AnimatedArray extends AnimatedWithChildren {
    constructor(array) {
      super()
      this._values = array.map(n => new AnimatedValue(n))
    }
  
    setValue(values) {
      values.forEach((n, i) => this._values[i].setValue(n))
    }
  
    __getValue() {
      return this._values.map(v => v.__getValue())
    }
  
    stopAnimation(callback) {
      this._values.forEach(v => v.stopAnimation())
      callback && callback(this.__getValue())
    }
  
    __attach() {
      for (let i = 0; i < this._values.length; ++i)
        if (this._values[i] instanceof Animated) this._values[i].__addChild(this)
    }
  
    __detach() {
      for (let i = 0; i < this._values.length; ++i)
        if (this._values[i] instanceof Animated)
          this._values[i].__removeChild(this)
    }
  }
  