Brendonovich
Brendonovich
Explore posts from servers
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
noExplicitAny is an annoying rule anyway 😄
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
any is what you want in this case
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
disable linter for that line lol
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
is that a ts error or a linter message?
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
you're just looking for it to be a schema, doesn't matter what the generics are
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
extends v.BaseSchema<any, any, any>
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
Yeah try using extends v.BaseSchema
20 replies
SSolidJS
Created by binajmen on 2/22/2025 in #support
[valibot] Types generic
I think AnySchema is a specific type of schema rather than the general type you're looking for
20 replies
SSolidJS
Created by Hussein on 2/14/2025 in #support
ERR_HTTP_HEADERS_SENT
I'd suspect that Start doesn't really handle respondWith properly, and it's attempting to send a response after the fetch finishes even though one has already been sent
9 replies
SSolidJS
Created by ⱼ ₒ ₑ on 2/14/2025 in #support
useContext is undefined
So LocaleProvider and ThemeProvider are both accessible from SaveButton?
36 replies
SSolidJS
Created by ⱼ ₒ ₑ on 2/14/2025 in #support
useContext is undefined
splitProps is fine, but then don’t destructure the objects you get from that either
36 replies
SSolidJS
Created by ⱼ ₒ ₑ on 2/14/2025 in #support
useContext is undefined
Yeah destructuring like here is a surefire way to get problems like this, even if it’s not the cause in this case
36 replies
SSolidJS
Created by Amir Hossein Hashemi on 2/13/2025 in #support
I can't initialize a session
I think updating headers during SSR while streaming isn’t really supported
4 replies
SSolidJS
Created by Amir Hossein Hashemi on 2/13/2025 in #support
I can't initialize a session
Try adding deferStream to the createAsync, it may at least fix the error
4 replies
SSolidJS
Created by oke on 2/11/2025 in #support
SSG isn't truly static
Otherwise you'd somehow need to get Vite to transform the email code at build time, and then run it at build time, so you could put the result in a virtual module
20 replies