docs/examples/basic.js
/**
	    * TODO: This will be deprecated because state should always keep a consistent
	    * type signature and the only use case for this, is to avoid that.
	    */
This will be deprecated because state should always keep a consistent
type signature and the only use case for this, is to avoid that.
This will be deprecated because state should always keep a consistent type signature and the only use case for this is to avoid that .
function replaceState(newState, callback) {
					this.updater.enqueueReplaceState(this, newState);
					if (callback) {
						this.updater.enqueueCallback(this, callback, 'replaceState');
					}
				}
function replaceState ( newState , callback ) { this . updater . enqueueReplaceState ( this , newState ) ; if ( callback ) { this . updater . enqueueCallback ( this , callback , 'replaceState' ) ; } }
TODO: This will be deprecated because state should always keep a consistent
 type signature and the only use case for this, is to avoid that.
TODO : This will be deprecated because state should always keep a consistent type signature and the only use case for this is to avoid that .