Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the trait bound yew::Classes: From<StyleSource> is not satisfied #86

Closed
simbleau opened this issue Aug 28, 2022 · 2 comments
Closed

the trait bound yew::Classes: From<StyleSource> is not satisfied #86

simbleau opened this issue Aug 28, 2022 · 2 comments

Comments

@simbleau
Copy link
Contributor

simbleau commented Aug 28, 2022

Title.

Due to yewstack/yew#2848, I am forced to upgrade to master.

Unfortunately I rely heavily on stylist, and in master <div class={ css!(..) } /> no longer compiles, since the trait bound yew::Classes: From<StyleSource> is not satisfied

@futursolo
Copy link
Owner

Currently, stylist depends on 0.19 which is not compatible with master.

You can track the progress in #69.

BTW, you can use use_location to listen to location changes in both Yew 0.19 and master.

@simbleau
Copy link
Contributor Author

simbleau commented Aug 28, 2022

D'oh! I thought use_location was only in master. :) +1

That solves that.

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

No branches or pull requests

2 participants