I\'m attempting to integrate or create a React version of https://github.com/kumailht/gridforms, to do so I need to normalize the height of the columns inside of the row. Th
I'd rather do it in componentDidUpdate, but by making sure a condition is met to prevent an infinite loop:
componentDidUpdate(prevProps, prevState) { const row = document.getElementById('yourId'); const height = row.clientHeight; if (this.state.height !== height) { this.setState({ height }); } }