src/StatefulComponent.js
/**
     * If you override this, make sure you add a call to super or your state won't work anymore.
     *
     * Once the component is mounted we can get our state hooked up to the providers.
     */
If you override this, make sure you add a call to super or your state won't work anymore.

Once the component is mounted we can get our state hooked up to the providers.
If you override this make sure you add a call to super or your state won ' t work anymore . Once the component is mounted we can get our state hooked up to the providers .
componentDidMount() {
        this.listenerMutes = this.listenPaths.map(
            path => {
                let updateOn = ( val ) => {
                    paths.putPath( path, this.state, val )
                    this.setState( this.state )
                }
                updateOn.bind( this )
                let localProvided = false
                let mute = this.providers
                           && this.providers
                                  .filter(
                                      provider => provider.canProvide( path )
                                  )
                                  .map(
                                      provider => {
                                          if( localProvided )
                                              throw 'Multiple local providers found for property ' + path + ' property is ambiguous'
                                          localProvided = true
                                          return provider.listen( path, updateOn )
                                      }
                                  )
                if( mute && mute[ 0 ] ) {
                    return mute[ 0 ]
                } else {
                    return null
                }
            }
        )
                                 .filter( mute => !!mute )
    }
componentDidMount ( ) { this . listenerMutes = this . listenPaths . map ( path => { let updateOn = ( val ) => { paths . putPath ( path , this . state , val ) this . setState ( this . state ) } updateOn . bind ( this ) let localProvided = false let mute = this . providers && this . providers . filter ( provider => provider . canProvide ( path ) ) . map ( provider => { if ( localProvided ) throw 'Multiple local providers found for property ' + path + ' property is ambiguous' localProvided = true return provider . listen ( path , updateOn ) } ) if ( mute && mute [ 0 ] ) { return mute [ 0 ] } else { return null } } ) . filter ( mute => ! ! mute ) }
If you override this, make sure you add a call to super or your state won't work anymore.
If you override this make sure you add a call to super or your state won ' t work anymore .