zh0nb
zh0nb
SSolidJS
Created by zh0nb on 8/20/2023 in #support
Array of components gets re-render every time that a new component is added
ahhh, I see, completely missed that, thank you!!!
10 replies
SSolidJS
Created by zh0nb on 8/20/2023 in #support
Array of components gets re-render every time that a new component is added
yep, my loop was before with a For, but I've changed to Index hoping that would help 😦
10 replies
SSolidJS
Created by zh0nb on 8/20/2023 in #support
Array of components gets re-render every time that a new component is added
you're totally right, completely missunderstood how it worked, will give it a go, thanks!
10 replies
SSolidJS
Created by zh0nb on 8/20/2023 in #support
Array of components gets re-render every time that a new component is added
The main issues is that when a new element is added all of the components in the array get re-(generated/rendered), but I am not sure how to get past that and only re-render elements when they actually change, not when a new element is added
10 replies
SSolidJS
Created by zh0nb on 8/20/2023 in #support
Array of components gets re-render every time that a new component is added
mm I don't think this is the issue, references is the signal, not reference, right?
10 replies
SSolidJS
Created by zh0nb on 5/6/2023 in #support
onClick event does not get fired
The issue was with Astro and SSR, where the data didn't get nicely to the client (astro does some pre-processing for the SSR), but managed to solve it, thanks anyways Alex!
5 replies
SSolidJS
Created by zh0nb on 5/6/2023 in #support
onClick event does not get fired
I thought it could have been me, just being a noob in solid, but I still need to figure out if it is on the Astro's end, thanks for your reply 🙂
5 replies
SSolidJS
Created by zh0nb on 5/6/2023 in #support
onClick event does not get fired
I think it is something with the integration in Astro.. I tried the same code in the solid playground and it works 😦
5 replies