My target: to find ref of label and colorize it. Code used:
colorizeLabel(){
ReactDOM.findDOMNode(this.refs.amountLabel).color('#ffffff');
}
<label itemRef="amountLabel">Choose Amount:</label>
which produce: Uncaught TypeError: Cannot read property 'color' of null
It looks like it is unable to find ref. Do I miss anything?