You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I've taken the suggested jsfiddle from #2564 and adapted it so that we actually make use of the useState hook for a simple counter. I expected this to work.
I since tried swapping to pika and skypack as the module source, but both give the same error.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the useState hook as imported from any CDN source, preact will crash and throw "TypeError: u is undefined".
To Reproduce
https://jsfiddle.net/vugyL4w9/
Expected behavior
I've taken the suggested jsfiddle from #2564 and adapted it so that we actually make use of the useState hook for a simple counter. I expected this to work.
I since tried swapping to pika and skypack as the module source, but both give the same error.
The text was updated successfully, but these errors were encountered: