Skip to content

Minimize patches #24

Description

@ealmloff

Currently we need two patches on top of upstream wasm bindgen:

  • Lazy thread locals in js-sys that assume there is one javascript context per thread. We have many contexts per thread with multi-window desktop apps. Reuse LazyCell in js-sys wasm-bindgen/wasm-bindgen#5172 moves the lazy logic into core and lets us remove the patch
  • Wasm-bindgen-futures microtask semantics mismatch (Take over the event loop #27)
  • Cargo.toml patches to depend on our version of wasm-bindgen (wasm-bindgen-x) so that we can rely on a published version of web-sys-x in dioxus-desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions