Skip to content

Update to yew 0.22, edition 2024#14

Merged
Madoshakalaka merged 6 commits intoyewstack:masterfrom
Madoshakalaka:yew-0.22
Mar 5, 2026
Merged

Update to yew 0.22, edition 2024#14
Madoshakalaka merged 6 commits intoyewstack:masterfrom
Madoshakalaka:yew-0.22

Conversation

@Madoshakalaka
Copy link
Member

  • Bump yew from 0.20/0.21 to 0.22 (frontend + app)
  • Bump yew-router from 0.17 to 0.19
  • Bump gloo from 0.8 to 0.11, gloo-net from 0.2 to 0.5
  • Bump wasm-bindgen to 0.2.88, implicit-clone to 0.6
  • Update all hooks to yew 0.22 API: use_future_with, use_memo, use_effect_with now take deps as first argument
  • Rename #[function_component] to #[component]
  • Update BASE_CONTENT template for users
  • Use forked split-yew and rust-monaco for yew 0.22 compat
  • Bump all packages to edition 2024, workspace resolver 3
  • Remove prokio dependency (no longer needed)

- Bump yew from 0.20/0.21 to 0.22 (frontend + app)
- Bump yew-router from 0.17 to 0.19
- Bump gloo from 0.8 to 0.11, gloo-net from 0.2 to 0.5
- Bump wasm-bindgen to 0.2.88, implicit-clone to 0.6
- Update all hooks to yew 0.22 API: use_future_with, use_memo,
  use_effect_with now take deps as first argument
- Rename #[function_component] to #[component]
- Update BASE_CONTENT template for users
- Use forked split-yew and rust-monaco for yew 0.22 compat
- Bump all packages to edition 2024, workspace resolver 3
- Remove prokio dependency (no longer needed)
@Madoshakalaka
Copy link
Member Author

snippets people already saved and shared might not work any more

#[function_component] still works, it's deprecated but not removed in 0.22

fail to compile ones:

  • use_effect_with_deps, use_future_with_deps — gone, will fail
  • use_memo with old arg order (closure first, deps second) — will fail
  • class=(...) tuple syntax — removed, will fail

@Madoshakalaka
Copy link
Member Author

part of yewstack/yew#2962

@Madoshakalaka Madoshakalaka merged commit 6fd5de8 into yewstack:master Mar 5, 2026
@Madoshakalaka Madoshakalaka deleted the yew-0.22 branch March 5, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant