nirtamir2
nirtamir2
SSolidJS
Created by nirtamir2 on 11/6/2024 in #support
BUG?: clientOnly inside Suspense boundary is not shown
4 replies
SSolidJS
Created by nirtamir2 on 11/6/2024 in #support
BUG?: clientOnly inside Suspense boundary is not shown
@Madaxen86 The issue is not resolved. It's a bug. When I move things to the same file it resolved, but when they where in a different file - it did not render the component. It's very hard to debug also
4 replies
SSolidJS
Created by nirtamir2 on 11/6/2024 in #support
BUG?: clientOnly inside Suspense boundary is not shown
I think I found the issue. The getData funciton was
export const getData = cache(async () => {
"use server";
const categories = await fetchCategoriesWithTierlist();
return categories;
}, "categories");
export const getData = cache(async () => {
"use server";
const categories = await fetchCategoriesWithTierlist();
return categories;
}, "categories");
And it was in a different file. When I moved it - it worked
4 replies
SSolidJS
Created by nirtamir2 on 4/12/2023 in #support
Solid.js event handler that depend on reactive value best practice (fix solid/reactivity lint rule)
I planned to open the issue today, and it's already fixed
10 replies
SSolidJS
Created by nirtamir2 on 4/12/2023 in #support
Solid.js event handler that depend on reactive value best practice (fix solid/reactivity lint rule)
Amazing!
10 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Thanks for the help 🙂
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
No question. Just clarification to myself and other that will look at this in the future
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
@bigmistqke @thetarnav Sorry - my mistake - store is reactive. Meaning that if store.a changes - store changes too so it's jsx / effect will rerun. I infer it by looking at this codesandbox I created: https://codesandbox.io/p/sandbox/solidjs-reactivity-context-reactive-store-setter-eccv7z?file=%2Fsrc%2FApp.tsx&selection=%5B%7B%22endColumn%22%3A10%2C%22endLineNumber%22%3A16%2C%22startColumn%22%3A10%2C%22startLineNumber%22%3A16%7D%5D
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Is JSON.stringify(store) reactive? Not that I removed the unwrap (my mistake for it sorry) it seems that store value is updated
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Now I created another demo that confused me a bit
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Thanks!
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Actually this seems resonable (unwrap inside effect does not track the dependency)
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Thank you!
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
You right!
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
I mean - I want it to change JSON.strinfigy(unwrap(store.value)) when value.a changes without knowing upfront that value.a changed (value["unknown")
39 replies
SSolidJS
Created by nirtamir2 on 2/4/2023 in #support
Subscribe to any unknown store change
Yes - How make the <div>{JSON.stringify(unwrap(store.value))}</div> reactive
39 replies