DaOfficialWizard🧙
Assistance with SolidStart and Supabase Auth in SSR
No, that must not be it ... i am getting a
Error: Module "node:async_hooks" has been externalized for browser compatibility. Cannot access "node:async_hooks.AsyncLocalStorage" in client code.
19 replies
Assistance with SolidStart and Supabase Auth in SSR
The trouble i am running into - how do i setup the
createServerClient
override methods using the middleware strategy?
I can grab the nativeEvent
and pass that to the vinxi helpers - but that doesn't really help me setup the client? Should i construct the client inside the onRequest
callback and then assign it to the global context? Is that possible? That seems silly ...19 replies
Assistance with SolidStart and Supabase Auth in SSR
if however a new one is created for each request then matters could be considerably simpler)
Since the supabase/ssr
package exposes the client as a singleton i think this can be achieved.19 replies
Assistance with SolidStart and Supabase Auth in SSR
Thanks for your input @peerreynders - this is the conclusion that i've come to as well. I am just struggling with the implementation - being new to SolidStart it is not entirely clear to me what the flow is for
middleware
.19 replies
Solid-UI The `border-border` class does not exist.
Note - i took the contents of
ui.presets.js
and i simply added them manually (then promptly removed that extraneous file) to my tailwind.config.ts
file and the issue went away. Seems that there is an issue with the method of adding the presets to tailwind that causes the issue. I can not use solid-ui
and daisyui
along side each other - with a lot more granularity.3 replies
Help with some JSX logic in Typescript on an Advanced Resizing Component
well, the
aside
is just an example - but yes, i want it to attach to the first child element passed to the Resizer
. Essentially the Resizer
is a wrapper that allows me to resize the child when i drag on it. I originally wanted to "clamp" the Resizer
to always be the same size as the child that is being resized, but then i thought attaching the events handler itself to the child would be better.
Providing a callback was my original plan, but i think i over-complicated it tbh.38 replies