Reactjs – Conditionally rendering a lazy-loaded component only after the parent node is attached results in an infinite loop
React version: 18.3.1 Steps To Reproduce Create a component that renders the children inside a , but only after it has obtained reference to that div (via putting the div node into a state) Pass a lazy loaded component as…