Zicklag
Zicklag
I'm getting some really strange behavior when testing out the finalization registry. I've just got a tight loop that calls this function 10,000 times per frame: ```js test(n) { const...
Ah, I figured it out! I needed to run the JS runtime event loop, which makes a lot of sense, actually. I was just telling it to run our scripts,...
Yeah, that was what I was thinking. And if anything is dynamic it would just map to `any`.
Yeah, unfortunately the closest thing I can find so far is a class with static field: ```ts class Velocity { static typeName: string = "breakout::Velocity"; 0: Vec3 } class Vec3...
Oh sweet! That's great.
Great, now we just have to set it up so you can `import { Vec3 } from "./types.ts` in a script so that you don't have to copy-and-paste the components...
> I expect that we will end up defining the exact API boundary in terms of some d.ts declarations, and then there can be multiple backends (deno, wasm_bindgen) implementing that...
Yeah, I was on the fence as to whether or not it was substantial enough for an RFC. Without looking into the lit source code I couldn't tell if it...
> If the main issue is dependencies on commonjs modules I think that's the only problem. For me the issue manifests itself when I try to use Vite ( which...
It's no problem. :) I too got pretty busy and I don't need this solved right away, so don't worry about it.