Eric
Eric
SSolidJS
Created by Eric on 1/21/2025 in #support
[astro-island] Error hydrating /src/components/SignUp/SignUpForm.tsx TypeError: conds[i] is undefine
Alright, rubberducking to the rescue again … I’ve but <Show />s in my <Switch /> instead of <Match />es
2 replies
SSolidJS
Created by Eric on 12/1/2024 in #support
Solid Start Navigation
Ahh that makes sense! would it also work to call parseDate in the createAsync directly? Like this
const servings = createAsync(
async () => getServings(params.mensa, parseDate(date), 'de'),
{ deferStream: true },
)
const servings = createAsync(
async () => getServings(params.mensa, parseDate(date), 'de'),
{ deferStream: true },
)
6 replies
SSolidJS
Created by Eric on 12/1/2024 in #support
Solid Start Navigation
Turns out it was the exact same problem: this is what I changed in case someone is having a similar problem:
const [servings] = createResource(() => {
return {
mensaSlug: params.mensa,
date: parseDate(params.date),
language: 'de' as const,
}
}, getServings, {
deferStream: true,
})
const [servings] = createResource(() => {
return {
mensaSlug: params.mensa,
date: parseDate(params.date),
language: 'de' as const,
}
}, getServings, {
deferStream: true,
})
6 replies
SSolidJS
Created by Eric on 12/1/2024 in #support
Solid Start Navigation
This seems to be related to this: https://discordapp.com/channels/722131463138705510/1223010243433332776 I'm currently trying to follow what has been discussed there
6 replies
SSolidJS
Created by Eric on 11/21/2023 in #support
Generating Client Only code for static deployment
that’s really exactly what I needed, thanks so much!
16 replies
SSolidJS
Created by Eric on 11/21/2023 in #support
Generating Client Only code for static deployment
omg! I think I just assumed that in the public folder is the same as in my normal public folder
16 replies
SSolidJS
Created by Eric on 11/21/2023 in #support
Generating Client Only code for static deployment
And I also don’t want fully static, as it basically is a client only app, but with some routing features, such as searchparams as I said
16 replies
SSolidJS
Created by Eric on 11/21/2023 in #support
Generating Client Only code for static deployment
Well the thing is, I need stuff like useSearchParams, which afaik is not in solidjs w/o start?
16 replies
SSolidJS
Created by Eric on 9/20/2023 in #support
Async TRPC query with ssr
Okay figured it out… This is probably never going to happen, but if someone else ever has this issue: I had some diy checks if the user is signed in, as protectedProcedures somehow didnt work
if (!ctx.session || !ctx.session.user) {
console.log("No session found")
return null
}
if (!ctx.session || !ctx.session.user) {
console.log("No session found")
return null
}
Because of this, the route returned null at first and didnt refetch, as there was a "successful" return already
2 replies
SSolidJS
Created by Eric on 9/17/2023 in #support
Solid Start not deploying on vercel in turborepo
No description
3 replies