swordev / suid

A port of Material-UI (MUI) built with SolidJS.
https://suid.io
MIT License
660 stars 47 forks source link

solid-start: Uncaught (in promise) TypeError: containerInfo is undefined #281

Open lighth7015 opened 5 months ago

lighth7015 commented 5 months ago

Hi,

I'm working on a website as part of a project using solid-start, however when I try and use a Drawer, I receive the exception-

 Uncaught (in promise) TypeError: containerInfo is undefined
    remove ModalManager.js:165
    handleClose ModalUnstyled.jsx:104
    cleanNode dev.js:963
    cleanNode dev.js:959
    cleanNode dev.js:959
    cleanNode dev.js:959
    cleanNode dev.js:959
    cleanNode dev.js:959
    cleanNode dev.js:959

I'm using SSR, I'll turn it off if I have to, I just need to know how to fix/resolve the issue.

Thanks!

lighth7015 commented 5 months ago

Okay, after manually patching all of those issues, now I get the following:

Error: Hydration Mismatch. Unable to find DOM nodes for hydration key: 0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0-0-0-3-1
    getNextElement dev.js:281
    createStaticComponent Dynamic.jsx:31
    createDynamicComponent Dynamic.jsx:41
    runComputation dev.js:708
    updateComputation dev.js:690
    readSignal dev.js:626
    resolveChildren dev.js:1003
    memo dev.js:583
    runComputation dev.js:708
BierDav commented 4 months ago

Can you please share your code in codesandbox or so. With that we might be able to help you.