Clone in a terminal:
Cargo.toml
cargo-features = ["edition2024"]

[package]
name = "kaja-web-component-counter-example"
version = "0.1.0"
edition = "2024"

[lib]
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.122"
kaja-web = { version = "1.0.3", path = "../.." }
kaja-web-component = { version = "1.0.0", path = "../../../kaja-web-component" }
js-sys = "0.3"
web-sys = { version = "0.3.99", features = ["Element", "HtmlElement", "NodeList", "CustomElementRegistry", "ElementDefinitionOptions"] }
gloo = { version = "0.12", features = ["futures"] }
kaja-html-macro = "1.0.4"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
uuid = { version = "1.23.2", features = ["js", "v4"] }
console_error_panic_hook = "0.1.7"
inventory = "0.3.24"
serde-wasm-bindgen = "0.5"
gloo-timers = { version = "0.4.0", features = ["futures"] }
wasm-bindgen-futures = "0.4.76"
async-channel = "2"

File history (5 commits)

7893da8 Johan Mattsson - johan.mattsson.m@gmail.com
Metadata
Metadata
7b2c25e Johan Mattsson - johan.mattsson.m@gmail.com
Version
Version
2759560 Johan Mattsson - johan.mattsson.m@gmail.com
Multiple wasm threads
Multiple wasm threads
cfe5d0c Johan Mattsson - johan.mattsson.m@gmail.com
Update component code
Update component code
06a68b2 Johan Mattsson - johan.mattsson.m@gmail.com
Try multi thread component ideas
Try multi thread component ideas

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112