How do I select certain bars in react.js?
This is my code:
var Progressbar = React.createClass({ getInitialState: function () { return {
For getting the element in react you need to use ref and inside the function you can use the ReactDOM.findDOMNode method.
react
ref
ReactDOM.findDOMNode
But what I like to do more is to call the ref right inside the event
this.myTextInput = ref} />
This is some good link to help you figure out.