You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just looked at this, looks like it's because resizeIframe is called twice when the component is mounted: once in componentDidMount and again in componentWillReceiveProps.
Inside resizeIframe, it triggers the init function of the iframe-resizer library.
if (props.iframeResizerEnable) {
iframeResizerLib(props.iframeResizerOptions, frame);
}
I'm getting the following warning whenever I update state in my component.
To reproduce this you can just have something like:
Any thoughts on how I can silence this warning, or is there a better way of using this?
The text was updated successfully, but these errors were encountered: