my component
<iframe src="https://codesandbox.io/embed/vigorous-sun-b7pf2?fontsize=14&hidenavigation=1&theme=dark" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" title="vigorous-sun-b7pf2" allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"></iframe>
getDerivedStateFromProps should called when props and state in 16.4 and higher version. But why its called twice.
Please help me to understand this.