Hey folks, I opened a PR to fix the async future JS codegen in js-component-bindgen:
The intrinsic templates in async_future.rs were producing invalid JavaScript for any component with future types. Things like missing parentheses, duplicate parameter names, self instead of this in class methods, and a few undefined variable references. The transpiled output couldn't even parse.
After the fixes, components with async futures transpile to valid JS that passes node syntax checking.
This is my first contribution to jco, glad to be part of the community. Would appreciate a review when someone has a chance, happy to adjust anything.
Last updated: Apr 13 2026 at 00:25 UTC