Sun「無用」
Sun「無用」
Explore posts from servers
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
Both.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
No, just vite stuff.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
which just means it's undefined.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
no, just a blank page
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
yes, I'm even calling it.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
https://prnt.sc/nInWrBQEVKhl Locally.
<div class={styles.App}>
<h1>Joke:</h1>
<Show when={didFetch()} fallback={<p>Could not load the joke.</p>}>
<Joke setup={joke()!.setup} punchline={joke()!.punchline} />
</Show>
</div>
<div class={styles.App}>
<h1>Joke:</h1>
<Show when={didFetch()} fallback={<p>Could not load the joke.</p>}>
<Joke setup={joke()!.setup} punchline={joke()!.punchline} />
</Show>
</div>
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
and wait, that doesn't work.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
both of them should be changed
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
But both are calling the signal
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
And why does a random fn changes everything?
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
It's undefined.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
It just shows nothing*
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
Locally it goes to the fallback forever
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
But if I do it without the show, it's still undefined.
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
what about it?
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
that shouldn't change anything?
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
?
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
Kinda same, at least
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
105 replies
SSolidJS
Created by Sun「無用」 on 3/17/2023 in #support
createResource returning undefined when data is fetched
sec, my laptop's keyboard is a bit broken
105 replies