Erik Demaine
Erik Demaine
SSolidJS
Created by quinnvaughn on 1/11/2025 in #support
Unable to run any vitest tests on initial launch
It looks like cssstyle uses CommonJS but css-color supports only ESM?
7 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
((I'm not sure that averaging tests is optimal... But seems not terrible.))
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
I think my second plot is msec, or whatever is output by their script, averaged over the test cases. (First plot was sum of tests.)
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
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
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
No description
27 replies
SSolidJS
Created by tombyrer on 1/8/2025 in #support
Difference between Soild/Signals & Preact/Signals?
No description
27 replies
SSolidJS
Created by batman✅ on 12/27/2024 in #support
Need help debugging this error: Client-only API called on the server side. Run client-only code in
There might be a better way, but one way is to divide and conquer: don't import most code, add files/components one at a time
11 replies
SSolidJS
Created by mileung on 12/19/2024 in #support
What does it mean when a tags don't navigate to their href?
Are you using <a> or <A>?
7 replies
SSolidJS
Created by 50BytesOfJohn on 12/11/2024 in #support
Missing SSR component after client side navigation (help with icons library SSR)
I am impressed it even offers auto-import
18 replies
SSolidJS
Created by 50BytesOfJohn on 12/11/2024 in #support
Missing SSR component after client side navigation (help with icons library SSR)
Wow, that's really cool. Thanks for the link!
18 replies
SSolidJS
Created by 50BytesOfJohn on 12/11/2024 in #support
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
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
did you try pnpm?
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
Maybe try paring down the header, and anything else that renders? Or make a route that renders almost nothing?
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
Otherwise nothing obviously wrong in the (Xelosani).jsx page
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[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
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
But it could also be this apparent bug...
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
That's a bit too much code to look at. If you could narrow it to one component that causes the error, we could look at that.
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
For example, if you access document at the top level of a component, you'll get this error
23 replies
SSolidJS
Created by Luka on 12/11/2024 in #support
[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
You might start by blanking out various components to isolate which one(s) are causing the error
23 replies