Andre
Andre
Explore posts from servers
SSolidJS
Created by Andre on 2/20/2024 in #support
Passing "up" signals in Solid
That makes sense, thanks for the example!!
8 replies
SSolidJS
Created by Andre on 2/20/2024 in #support
Passing "up" signals in Solid
Ohh, ok!!
8 replies
SSolidJS
Created by Andre on 2/20/2024 in #support
Passing "up" signals in Solid
Since those two components are directly in contact, I think context would be too much in this case so I wanted to find if there a less complex route
8 replies
SSolidJS
Created by Andre on 2/20/2024 in #support
Passing "up" signals in Solid
Ok! Thank you so much for the examples, that was what I was needing the most! I just didn't get what you meant by "more commonly we set 2 (or 3 with default) props per signal instead of an array."
8 replies
SSolidJS
Created by Andre on 1/27/2024 in #support
Understanding the deployment of a SolidJS app (with a separate backend)
Oh nice to know, I think I would go with that option than
4 replies
SSolidJS
Created by Andre on 1/27/2024 in #support
Understanding the deployment of a SolidJS app (with a separate backend)
No SSR!
4 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Ohh, thats great, either way I choose to go, that really explains a lot, tysm
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
But is there?
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Ohh, yeah nice, tyy
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Nice, good idea
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Tbh right now I just feel that calling user.email would be more elegant that user().email so thats why I am going that route
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Is there a direct advantage of using a store instead of a signal for that?
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
ohh interesting
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
You mean with a signal?
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
And I was following the route of checking if the user is logged in with if (user), and if (user = {}) would be a true so that would work
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
I started going this route of making the store have all properties of User but I realized stores can't be set to null or undefined, only objects
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Also, now I kinda feel that using a store would be better @._rb, I would try to implement that
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
Oh, I just coppied and pasted that code and now it worked, maybe it was the incorrect use of user instead of user() in the JSX somewhere else indeed
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
oh, let me see
40 replies
SSolidJS
Created by Andre on 12/15/2023 in #support
Is there a better way of doing this sub and unsub? I fell like I am just translating React code xD
No description
40 replies