react-krpano-hooks
react-krpano-hooks copied to clipboard
Container Duplicating when going back into page.
creates new instance of embed every time browse to component in react (doubles the height, this means it creates another embed underneath. Is there a way to ensure container only creates once. seems to be stored in memory for the next time. using loadxml. to obtain the data.
Ignore... was environmental issue
Hey @jnachman123 , thank you for bringing up this topic. In fact, I should carefully examine the lifecycle and potential issues after recreating the instance. I've identified a memory leak problem, and I'll work on fixing it when I have the time. Thanks again!