I'm trying to figure out if in jco-transpile bindings (e.g. preview2-shims or some other custom wit implementation) there's any kind of state.
In wasmtime bindings, you implement everything as a trait, and the first parameter is always &mut self. You can keep any state inside self. Is there anything like this in Jco?
I'd like to use this in cases where there are multiple wasm components running on the same page, and I wanna customize the behavior according to which component called a function.
Last updated: Jan 09 2026 at 13:15 UTC