'this.refs' snippet