Skip to content

update yew to 0.22#106

Merged
futursolo merged 6 commits intobounce-rs:masterfrom
Aedius:update-yew-0-22
Mar 28, 2026
Merged

update yew to 0.22#106
futursolo merged 6 commits intobounce-rs:masterfrom
Aedius:update-yew-0-22

Conversation

@Aedius
Copy link
Copy Markdown
Contributor

@Aedius Aedius commented Feb 8, 2026

Description

This pull request consists of the following changes:

This PR bump Yew from 0.21 to 0.22 and stylish from 0.13 to 0.14

NB : i also have bump Yew on stylist-rs

so we need to replace the link to my fork ( https://github.com/Aedius/stylist-rs.git ) on the dependencies

Checklist

  • I have self-reviewed and tested this pull request to my best ability.
  • I have added tests for my changes.
  • I have updated docs to reflect any new features / changes in this pull request.
  • I have added my changes to CHANGELOG.md.

@Aedius
Copy link
Copy Markdown
Contributor Author

Aedius commented Feb 19, 2026

add : bump stylist to 0.14 and Fix the CI

@futursolo
Copy link
Copy Markdown
Member

Thank you for the PR.

I think there are some issues with the documenting feature which causes an upstream dependency not being able to be built.

See: futursolo/stylist-rs#171

I think this should be address first.

@Aedius
Copy link
Copy Markdown
Contributor Author

Aedius commented Feb 24, 2026

@futursolo you are absolutely right, and i see that have you already created the fix on futursolo/stylist-rs#172

i will update this PR when the doc is fixed.

@futursolo
Copy link
Copy Markdown
Member

They still haven’t fixed it. I will try to merge the PR now if the tests pass.

@Madoshakalaka
Copy link
Copy Markdown
Contributor

@Aedius can you update to yew 0.23 while you are at it?

Comment on lines -71 to 72
#[function_component(App)]
#[component(App)]
fn app() -> Html {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PascalCase function-name-as-component-name style has more aura and is what yewstack/yew adopts in its docs and examples currently:

#[component]
fn App() -> Html{
  // ...
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I know, both naming styles are valid scheme.
One is named function and the other one is unnamed.

@futursolo futursolo merged commit 5827171 into bounce-rs:master Mar 28, 2026
4 checks passed
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.

3 participants