Erik Demaine
Difference between Soild/Signals & Preact/Signals?
(Apparently the original plot is made via ChatGPT which seems like a scary way to do a published plot! But seems like it worked out.)
27 replies
Missing SSR component after client side navigation (help with icons library SSR)
You can see how https://github.com/x64Bits/solid-icons did it. There's some special hackery with
ssr
built-in that I didn't know about...18 replies
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
23 replies
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
One thing I note is that
FireworkConfetti
does DOM operations at the top level (document.getElementById
within setTimeout
). I'm guessing that can't be triggered during initial page render / SSR though? It probably makes sense to put it into the existing onMount
call though.23 replies