sandpack icon indicating copy to clipboard operation
sandpack copied to clipboard

Not starting when handing code as

Open lanmower opened this issue 1 year ago • 0 comments

Bug report

Packages affected

https://github.com/lanmower/Sandpack

  • [*] sandpack-client
  • [*] sandpack-react

Description of the problem

I've reached a point on a codebase where sandPack doesn't start when providing the files as an object , but it does start when editing the code

Did I encounter a bug or did I miss a crucial step?

How to replicate:

https://github.com/lanmower/Sandpack it's deployed on github pages

the same exact code works if you rename index.js to something else, making it the default version, and then pasting its contents on the loaded page.

Somehow changing the files state breaks it, but changing the code on the page doesnt

lanmower avatar Oct 09 '24 22:10 lanmower