Brendonovich
Brendonovich
Explore posts from servers
SSolidJS
Created by ChrisThornham on 6/30/2024 in #support
Help Me Solve "undefined" warning When Using <Show> Component
Use the callback form of Show to get the narrowed version of order() as a new signal
export default function OrderDetailsPage() {
const params = useParams();
const order = createAsync(() => getOrder(params.chargeId));
return (
<>
<h4>Order Details</h4>
<Show when={order()} fallback="Order loading...">
{order => <OrderTable order={order} />}
</Show>
</>
);
}
export default function OrderDetailsPage() {
const params = useParams();
const order = createAsync(() => getOrder(params.chargeId));
return (
<>
<h4>Order Details</h4>
<Show when={order()} fallback="Order loading...">
{order => <OrderTable order={order} />}
</Show>
</>
);
}
3 replies
SSolidJS
Created by Liquido on 6/27/2024 in #support
How to use useSubmission with server action passed to form?
the values on status are reactive, try wrapping the console.log in a createEffect
3 replies
SSolidJS
Created by hannus on 6/22/2024 in #support
Proper Usage of load() for Authentication and Redirection in Solid-Start
same as signing a jwt
18 replies
SSolidJS
Created by hannus on 6/22/2024 in #support
Proper Usage of load() for Authentication and Redirection in Solid-Start
useSession can be handy over regular cookies since you can trust that any data in it was set by your server
18 replies
SSolidJS
Created by hannus on 6/22/2024 in #support
Proper Usage of load() for Authentication and Redirection in Solid-Start
yeah nice
18 replies
SSolidJS
Created by hannus on 6/22/2024 in #support
Proper Usage of load() for Authentication and Redirection in Solid-Start
are you just putting access_token in there?
18 replies
SSolidJS
Created by hannus on 6/22/2024 in #support
Proper Usage of load() for Authentication and Redirection in Solid-Start
ah ic, yeah a cookie is a fine approach for that
18 replies
SSolidJS
Created by hannus on 6/22/2024 in #support
Proper Usage of load() for Authentication and Redirection in Solid-Start
useSession is just a fancy cookie that has a nicer API and provides encryption by default. Does supabase put the jwt in localstorage or do you?
18 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
ah i was just looking at the settings part
10 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
that should work, try removing node_modules/.vinxi and restarting the dev server
10 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
is settings supposed to be inside [id]/?
10 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
will keep it in mind
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
glad we got it sorted haha, zerops looks interesting
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
oh my god haha
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
vscode may not show it
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
tbh i wouldn't discount the case sensitivity theory entirely, check on github
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
hmm so vinxi is looking in the right place
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
Oh also you'll only need .output in deployFiles
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
The CI system clones the repo to /build/source yeah?
32 replies
SSolidJS
Created by Nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
bc case sensitivity
32 replies