Oh, I see why I was confused: you are using an old version of React (Codepen's version is 0.13). In this version, in order to get a reference to the DOM node from the React ref, you have to use "getDOMNode()":
this.refs.list.getDOMNode().value
In updated versions of React, this is not necessary.