Replies: 1 comment 1 reply
-
Hmm, this is indeed very weird. It could maybe be because we use the |
Beta Was this translation helpful? Give feedback.
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’m consistently having strange bugs related to Crank.js projects in codesandbox. The projects will work in a parcel 1 app locally, but when I try to upload them to codesandbox they stop working.
For instance take this sandbox: https://codesandbox.io/s/crankjs-threejs-boxes-demo-ypyqi?file=/src/crank-three.tsx:5867-5904
Works locally, but once I copied the files into the sandbox, iteration over this just stopped working for one file. Weird I think, maybe they’re not downleveling iteration with TypeScript. So I do that and all of a sudden some variable in another scope is undefined, when it’s never unassigned within the loop.
These bugs are scary and completely unintrospectable, and I suspect they have to do with outdated versions of regeneratorRuntime/babel. Is there somewhere I can get more information/debug what the code is actually being compiled to?
Beta Was this translation helpful? Give feedback.
All reactions