Getting error "destroy is not a function" in Plasmic Studio

getting destroy is not a function in plasmic studio

hi! Could you paste the stack trace? I’m trying to repro

Uncaught TypeError: destroy is not a function
    at safelyCallDestroy (react-dom.development.js?ac89:22932:1)
    at commitHookEffectListUnmount (react-dom.development.js?ac89:23100:1)
    at commitPassiveUnmountInsideDeletedTreeOnFiber (react-dom.development.js?ac89:25098:1)
    at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (react-dom.development.js?ac89:25048:1)
    at commitPassiveUnmountEffects_begin (react-dom.development.js?ac89:24956:1)
    at commitPassiveUnmountEffects (react-dom.development.js?ac89:24941:1)
    at flushPassiveEffectsImpl (react-dom.development.js?ac89:27038:1)
    at flushPassiveEffects (react-dom.development.js?ac89:26984:1)
    at performSyncWorkOnRoot (react-dom.development.js?ac89:26076:1)
    at flushSyncCallbacks (react-dom.development.js?ac89:12042:1)
    at commitRootImpl (react-dom.development.js?ac89:26959:1)
    at commitRoot (react-dom.development.js?ac89:26682:1)
    at finishConcurrentRender (react-dom.development.js?ac89:25981:1)
    at performConcurrentWorkOnRoot (react-dom.development.js?ac89:25809:1)
    at workLoop (scheduler.development.js?bcd2:266:1)
    at flushWork (scheduler.development.js?bcd2:239:1)
    at MessagePort.performWorkUntilDeadline (scheduler.development.js?bcd2:533:1)

hmmm I’m able to open your project when I replace the code components. The error is happening in the artboard where some custom code components are rendered (Shopify.Collection and Shopify.Product). Is it possible the error is coming from their implementation? It would happen if a component calls React.useEffect whose effect function returns a Promise, for example: https://medium.com/geekculture/react-uncaught-typeerror-destroy-is-not-a-function-192738a6e79b

i see i see i see - maybe that function started returning something in the new update - thanks!!