Reactivity issues in Solid with vanilla HTML and JavaScript
I'm trying to use Solid with vanilla HTML and JavaScript. The only information I found is in the old documentation, but it doesn't seem to work for me.
The problem I'm facing is that neither the HTML tagged template nor the hyperscript functions are enabling reactivity. In this code, you can see that the rendered counter doesn't update. What am I doing wrong?
4 Replies
https://stackblitz.com/edit/stackblitz-starters-xnpsnyot
do note that there is open issue for hyperscript
and some concerns about its stability.
but in your case, I just switched cdn
Why changing the CDN fixed it? Was jsdelivr serving an outdated version or something?
I don't know, I just know that it works in the playground which uses esm.sh
it could be that it deliver different versions, but I did not look into that
Ok. Thank you.