react-krpano-hooks icon indicating copy to clipboard operation
react-krpano-hooks copied to clipboard

Container Duplicating when going back into page.

Open jnachman123 opened this issue 1 year ago • 5 comments

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.

jnachman123 avatar Nov 07 '23 18:11 jnachman123

Ignore... was environmental issue

jnachman123 avatar Nov 08 '23 12:11 jnachman123

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!

shinenic avatar Nov 08 '23 12:11 shinenic