Leptos-use v0.18.1 fails to compile with new wasm-bindgen/web-sys; PR created
A compatibility regression in leptos-use v0.18.1 caused compilation failures when paired with the newly released wasm-bindgen and web-sys packages; a test-fix branch and pull request were created to address it.

A compatibility regression in the leptos-use crate v0.18.1 broke compilation when developers upgraded to the newly released wasm-bindgen and web-sys packages, and a test-fix branch plus a pull request were created to address the break. The failure surfaced as a hard compile error that prevents projects depending on leptos-use v0.18.1 from building once those newer wasm-bindgen/web-sys versions are selected.
The problem was reported publicly on February 25, 2026 after users observed the crate failing to compile with the new wasm-bindgen and web-sys releases. Reproductions demonstrating the compilation failure were published alongside the issue to show the error path in concrete terms, and the reproduction artifacts were used to exercise the failure in continuous integration and local environments.
Following the repros, a test-fix branch was pushed and a pull request was opened to resolve the regression. The branch and PR aim to make leptos-use compatible again with the updated wasm-bindgen/web-sys revisions by adding the minimal changes needed to pass the reproduced tests. The issue timeline is short: initial report and reproductions on February 25, then the test-fix branch and PR created in response, showing maintainers and contributors moved quickly from repro to proposed code changes.
If your project pins leptos-use at v0.18.1 or picked up that version transitively, expect build failures when your Cargo.lock pulls in the newly released wasm-bindgen and web-sys. Reproduce the failure in your environment by running the published repros referenced in the issue before making blind upgrades. Review the test-fix branch and pull request to confirm the proposed changes align with your usage patterns; the PR contains the reproducible test cases used to validate the fix.
As of February 27, 2026 the pull request and test-fix branch exist and are the active path toward a resolution. Track the PR for merge and a subsequent patch release of leptos-use that will restore compatibility, or temporarily pin wasm-bindgen and web-sys to the prior working versions until the fix lands and a new leptos-use release is published.
Know something we missed? Have a correction or additional information?
Submit a Tip

