src/deepstream-react.js
function() {
			if( this.dsRecord && this.dsRecord.isReady && Object.keys( this.dsRecord.get() ).length === 0 && this.state ) {
				this.dsRecord.set( this.state );
			}
		}
function() {
			if( this.dsRecord && this.dsRecord.isReady && Object.keys( this.dsRecord.get() ).length === 0 && this.state ) {
				this.dsRecord.set( this.state );
			}
		}
function ( ) { if ( this . dsRecord && this . dsRecord . isReady && Object . keys ( this . dsRecord . get ( ) ) . length === 0 && this . state ) { this . dsRecord . set ( this . state ) ; } }
Set's the record's initial dataset, but only if the record is present, is empty and
the state is populated. This would most likely be the case for new react components that
expose a getInitialState method

@private
@returns {void}
Set s the record s initial dataset but only if the record is present is empty and the state is populated . This would most likely be the case for new react components that expose a getInitialState method