Davide
Davide
Explore posts from servers
SSolidJS
Created by Davide on 10/6/2023 in #support
computations created outside a `createRoot` or `render` will never be disposed
Yeah I figured, but what I’m wondering is why? In react it’s pretty normal to have functions return jsx and pass that around
5 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
or does the component caller need to know to run it with runWithOwner every time?
19 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
I wonder if there is a way to abstract this from the caller
19 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
it works
19 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
so in this case the owner should be the parent component which is calling the function?
19 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
ive never heard of that, is it documented somewhere?
19 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
19 replies
SSolidJS
Created by Davide on 9/28/2023 in #support
Context undefined when called from a function in onClick, but not if called in component
you can easily reproduce the issue here
19 replies