Not sure if I'm doing something wrong re: external resources #627
Replies: 3 comments 1 reply
-
Thank you for reporting this. This is a problem with resolving the modules from esm.sh from which modules are imported by default. I'm also aware about inability to copy from integrated console. I will also report that. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick response! I look forward to a fix from the esm.sh maintainers, and will keep an eye out. |
Beta Was this translation helpful? Give feedback.
-
The error occured because some react libraries imported react and LiveCodes playground imported another instance. Thank you @RThomasHyde for reporting that. |
Beta Was this translation helpful? Give feedback.
-
I wanted to try out something with the reactflow library, so I started up a project with the React Starter template. As soon as I added the reactflow (js & css) external resources, the console shows a "Script error" (I'd paste it here, but I don't seem able to copy from the console: as soon as I select the text it disappears and doesn't get copied if I ctrl-c). Then, when I add the jsx code from the reactflow quick start, I get a "TypeError: Cannot read properties of null (reading 'useRef')" error in the console and nothing renders.
Is it me doing something wrong (I'm pretty new to this stuff, so I guess it's likely), or have I run into a livecodes issue (or known unsupported functionality that I failed to notice)?
Beta Was this translation helpful? Give feedback.
All reactions