How to perform clean up in useEffect
Closed this issue · 2 comments
AllStackDev1 commented
donatso commented
It seems that your family tree json is corrupted. I am not sure what is causing it. Can you try to isolate the problem?
AllStackDev1 commented
So what i figured out was that the tree overwrite the source json data. so
i try to not make a direct reference to it, using
json.parse(json.stringfy(data)). it solved it. thanks
…On Mon, Jan 24, 2022 at 7:08 PM donatso ***@***.***> wrote:
It seems that your family tree json is corrupted. I am not sure what is
causing it. Can you try to isolate the problem?
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIXX5S74GTWKG7U7UMGTGGDUXWIQDANCNFSM5MV774XQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>