JLarky
Explore posts from serversUncaught Error: Failed attempt to create new DOM elements during hydration. Check that the libraries
This is my first time trying to create solid component with tsup https://github.com/solidjs-community/tsup-preset-solid and I'm assuming I'm doing something wrong 🙂 I never seen this error message before so I'm at a loss on where to start debugging this 🙂
setup on library side is pretty minimal, here's my
index.tsx
now on the consumer side I'm trying to call renderHtml
and hydrateHello
. It seem to be working when my component returns a string (instead of jsx) or if I use render
instead of hydrate
but the combination of using hydrate and using html template is what is killing it 🫠32 replies