Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Davide
Explore posts from servers
R
Railway
S
SolidJS
Posts
Comments
S
SolidJS
•
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
S
SolidJS
•
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
S
SolidJS
•
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
S
SolidJS
•
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
S
SolidJS
•
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
S
SolidJS
•
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
S
SolidJS
•
Created by Davide on 9/28/2023 in
#support
Context undefined when called from a function in onClick, but not if called in component
https://playground.solidjs.com/anonymous/b7c6cf46-dff6-4beb-9f70-d5638b7d2b98
19 replies
S
SolidJS
•
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