Recently i am working on react.js crud application i like to use react.findDomNode for create record
handleSubmit: function(e) {
e.preventDefault();
name = React.findDOMNode(this.refs.name).value.trim();
email = React.findDOMNode(this.refs.email).value.trim();
address = React.findDOMNode(this.refs.address).value.trim();
state = React.findDOMNode(this.refs.state).value.trim();
zip = React.findDOMNode(this.refs.zip).value.trim();
city = React.findDOMNode(this.refs.city).value.trim();
but i face following error how can i reslove it i also use