React integration - Error while unmounting the component
dinoiam opened this issue · 2 comments
Hello everyone, inside our platform we have this hybrids component that is behaving strangely.
Everything seems fine during the render face but when I switch page and then (I guess) react is trying to unmount the component I got this error.
Component
hybrids 4.3.0
hybrids-router 2.0.0
React platform
React 18.2.0
Node v18.17.0
Dunno if you could help, but I'm out of ideas. Thank you anyway for your time in advise!
Hi @dinoiam. You are using a pretty old version of hybrids and another package (hybrids-router), which is created and maintained by someone else.
However, I doubted that hybrids were freezing the whole element instance, so it is not possible to delete the property. You can check out if hybrids are indeed a problem by not calling the define()
function for that component. The element should be still there, but the library won't define it.
Feel free to re-open, if there is anything that you want to discuss about the subject.