code: function() {
  			if( this.dsRecord ) {
  				return;
  			}
  
  			if( dsClient === null ) {
  				throw new Error( 'no deepstream client set. Please call setDeepstreamClient( ds ) before using the deepstream react mixin' );
  			}
  
  			if( typeof this.props.dsRecord !== 'string' ) {
  				throw new Error( 'deepstream react mixin requires prop \'dsRecord\'' );
  			}
  
  			this.dsRecord = dsClient.record.getRecord( this.props.dsRecord );
  			this.dsRecord.subscribe( this._setState );
  
  			/*
  			 * We can't use record.whenReady here since react complains about its internal usage of `bind`
  			 */
  			if( this.dsRecord.isReady ) {
  				setTimeout( this._setInitialState, 0 );
  			} else {
  				this.dsRecord.once( 'ready', this._setInitialState );
  			}
  		}
docs: Creates / Retrieves the record this component's state is synced with. This method is called either by getInitialState
  or componentWillMount - whatever comes first
  
  @private
  @returns {void}