I just switched to React 0.14.0 and I'm getting below warning:
ReactDOMComponent: Do not access .getDOMNode() of a DOM node; instead, use the node directly. This DOM node was rendered by Typeahead.
componentWillMount
this.onCity = function(city){
if (this.props.action) {
Dispatcher.dispatch(this.props.action, {
country: ReactDOM.findDOMNode(this.refs.country).value,
city: city
});
}
}.bind(this);
render
(