Skip to content

Commit

Permalink
Update yew to 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Jul 5, 2024
1 parent ccff459 commit 8221820
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ updates:
schedule:
interval: "weekly"
groups:
yew:
# Likely to need its own fixes, separate to anything else
patterns:
- "yew"

cargo-minor:
patterns:
- "*"
Expand Down
2 changes: 1 addition & 1 deletion web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
yew = "0.19.3"
yew = { version = "0.20.0", features = ["csr"] }
yewtil = "0.4.0"
web-sys = "0.3.59"
wasm-bindgen = "0.2.81"
Expand Down
2 changes: 1 addition & 1 deletion web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl TreeNodePath {
#[wasm_bindgen(start)]
pub fn run_app() {
wasm_logger::init(wasm_logger::Config::default());
yew::start_app::<Model>();
yew::Renderer::<Model>::new().render();
}

//TODO fix saving

0 comments on commit 8221820

Please sign in to comment.