No Context when using hyper dom expressions
I've this strange behaviour that
useCounter(CounterContext)
returns undefined
when porting the context example to use hyper dom expressions.
Check codepen here: https://codepen.io/wrnrlr/pen/eYojdqV?editors=1011
Any ideas what I am doing wrong?3 Replies
Hi, don't know if you've already solved the error but I updated your solidjs/h version to match solidjs 1.8.16 in the importmap and replaced
with in
which seems to fix it.
Here is your updated codepen: https://codepen.io/davidivkovic/pen/MWRBJeR
Ooh ffs, I look at this for two days, thx for ur help atleast
Glad to help