Closed kolibril13 closed 1 year ago
Not entirely sure what's happening, but it seems like the exact same issue that is occurring with Snowpack, so it might be something wrong on ESM.sh's end: https://github.com/pmndrs/use-gesture/issues/451
Here's the line of code that is failing in use-gesture, it should be debuggable from there (I will take a stab at it but also noting this down for reference).
Hey Steven,
Thanks a lot for your time and your motivation to dig into this,
I really appreciate your efforts!
Bringing the ease of python with the speed of react together might have some interesting usecases in math education š
Fixed via vite rewrite -> https://github.com/manzt/anywidget/issues/185 š
When going to the https://code.esm.sh/ playground, static mafs components load just fine:
Copy pasting this css content https://unpkg.com/mafs@0.16.0/core.css and this react code (based on https://mafs.dev/guides/display/lines)
works fine!
However, when I add
{point1.element}
to the react component like this:I get the error: