Silvan
Silvan
Explore posts from servers
SSolidJS
Created by Silvan on 11/15/2023 in #support
Nested Routing
i actually got it working,. thanks!
9 replies
SSolidJS
Created by Silvan on 11/15/2023 in #support
Nested Routing
its not entirely like a <slot /> as in astro or svelte either
9 replies
SSolidJS
Created by Silvan on 11/15/2023 in #support
Nested Routing
is it fine to use multiple <Routes components? like i cant form a pattern in my head yet
9 replies
SSolidJS
Created by Silvan on 11/15/2023 in #support
Nested Routing
yep and im having a hard time understanding it. first up theres examples with <Routes and a path prop which it dosent have?
9 replies
SSolidJS
Created by Silvan on 11/15/2023 in #support
Nested Routing
so dashboard renders a screen with navigation. and the right part should be defined by dashboard/:whatever
9 replies
SSolidJS
Created by Silvan on 4/9/2023 in #support
React user confused on how to work with createResource response
4 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
oh gotta blame the tauri template in this case! but good to know
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
so maybe a linting rule or smth to avoid that?
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
honestly my only problem is that i got no errors or anything. even tho the code was fine and wasn’t relying on the component being async it stopped working
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
i do understand the undefined log tho!
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
but thanks!
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
i got it working without suspense. im just confused that adding async at the top broke it. but from what i can see solid uses lazy/suspense instead
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
funny enough my console log only returns undefined now but i can get stuff to render
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
wait can solid components not be async itself? i removed it from the App() and now it renders stuff
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
im also getting a computations created outside a `createRoot` or `render` will never be disposed
17 replies
SSolidJS
Created by Silvan on 3/31/2023 in #support
Get simple fetch data to render
while this returns me data perfectly fine
const data = JSON.parse(await invoke<string>('fetch_comments')) as Comments[];
console.log(data);
const data = JSON.parse(await invoke<string>('fetch_comments')) as Comments[];
console.log(data);
17 replies