[error] Client-only API called on the server side. Run client-only code in onMount, or conditionally
[error] Client-only API called on the server side. Run client-only code in onMount, or conditionally run client-only component with <Show>.Already try to deploy in two places, without success....

Details on how client code and server code is split
When does load and preload run?
Solid Start Navigation
"Hydrate" custom HTML
Confusion about `"use server"`
"use server"
:
1. Should all server-only files be "use server"
? If not, why not?
2. I see that you can export anything other than a function from a module that is tagged with "use server"
, what's the reason for it?
3. Does "use server"
on a module expose all functions from that module to the public (e.g. they can be called from the outside in a RPC fashion)?...`reload`/`revalidate` + other response (e.g. `json` or `redirect`)
reload
and revalidate
has to be part of the response from an action
. How can I both reload
/revalidate
cache keys and also redirect or return some other response from an action?Best practice for fetching data and the transfer data to signals that I can can them in the input fi
Redirect in createResource
Hydration Mismatch with `solid-icons`
Is `query` cached per request or globally?
query
cached per request? The documentation doesn't seem clear about it but I'd expect so. Since I'm about to create a getViewer
function it's probably best to make sure this is the case 😅blank page on error
Vercel & CORS Problem
Access to fetch at 'https://my-vercel-url.app/api/todos/get-todos' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled....
Passing Component in props
Using zod to validate env vars
Pass a named function callback to an old JS library
data-callback="someFn"
attribute in one of the elements. Is there a way in SolidJS to create this function at the component level and pass it down to that attribute?Difference between a nested route layout and just wrapping a route with a <Layout> component
Is there a way to trigger a store change manually even it's still the same object?
`React is not defined` error from a Solid library
overlayscrollbars-solid
in a work project and for some reason am getting React is not defined
.
I've not had this error in any other part of our site but where using this library and I cannot for the life of me understand why it's showing up. The issue comes from the library itself (I added a screenshot on where specifically it's showing up) and am wondering if anyone else has encountered this / how I might fix it...