Use refs .
First, include an attribute reffor each JSX cols element. Then use ref, inside the method componentDidMount, to access the DOM node component (actual HTMLElement). Finally, get the position / offset of the element or something else you need.
const Col = React.createClass({
componentDidMount: function() {
const offsetTop = this.refs.col1.offsetTop;
},
render() {
return (
<div className="col" ref="col1">
</div>
);
}
});
PS: , , element y. , , DOM (this.refs.col1), javascript .