vveisard
Basic store example is not reactive
I also came up with the workaround to bundle beforehand, but I'm trying to use the bun runtime without bundling. I think this problem can only be truly fixed by a standalone reactivity package, which I know is in the works, so I'll close this post for now.
6 replies
How do I use solid for reactivity without a build step?
Found a post in a GitHub related to this, posting in case anyone stumbles across this Discord forum post
https://github.com/solidjs/solid/discussions/1065#discussioncomment-2979082
6 replies
How to create effect for each element of mapArray?
Your explanation was very helpful, mapArray in createEffect seems like what I need.
what I'm going for is running an effect when:
- the value (reference) of the entity changes
- the value of the
counter
property changes
I've update my example: https://playground.solidjs.com/anonymous/075bb19e-581d-4476-aeaa-f226fbea12c6
However, because mapArray is non-tracking, it isn't behaving like I want.6 replies