Not sure if I'm doing something wrong re: external resources #627
Closed
RThomasHyde
started this conversation in
General
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. |
0 replies
|
Thank you for the quick response! I look forward to a fix from the esm.sh maintainers, and will keep an eye out. |
0 replies
|
The error occured because some react libraries imported react and LiveCodes playground imported another instance. Thank you @RThomasHyde for reporting that. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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)?
All reactions