Closed shashuec closed 5 years ago
I am seeing that the render function is called infinite times when a value is added.
I found out the reason. commenting code //this.setState({ inputWidth: this.wrapperWidth }); inside method measureWrapper stopped the infinite loop.
//this.setState({ inputWidth: this.wrapperWidth });
I am seeing that the render function is called infinite times when a value is added.