-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Move yew/services to yew-services crate #1693
Conversation
Visit the preview URL for this PR (updated for commit 5e952bb): https://yew-rs--pr1693-yew-services-grlj554u.web.app (expires Sat, 30 Jan 2021 13:44:47 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Thanks @hamza1311! I'm wondering if it would be nice to keep the services feature and use it to re-export yew-services at yew::services |
@jstarry, that won't work right now because Maybe we could that in a future PR when yew is broken up even more so we can avoid the circular dependency |
Ah right, thanks. Yeah that can come later, it probably will make sense to remove yew-services' dependency on yew altogether |
# Conflicts: # .github/workflows/pull-request.yml # packages/yew-services/src/websocket.rs # packages/yew-stdweb/Cargo.toml # packages/yew/Cargo.toml # packages/yew/src/callback.rs
Just bumping this. |
Apparently the chrome driver won't start. Any idea what might have gone wrong? |
Hmm, not really sure. I just retried the job |
Yeah, let's get it in! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's still quite a bit of cleanup left to do. Maybe we should remove yew-stdweb first?
What you pointed out seems to be because IntelliJ's merge tool somewhat messed up. I fixed up.
I think if we can get this done now, it should happen. Maybe |
Ok, great :)
Why is that?
Yeah, that sounds good |
Because those don't have a specific dependence on |
Ah, I see. It's ok, yew-stdweb removal is almost done anyways |
Looks great, @hamza1311! I just added a few small tweaks as well and will merge if CI passes. Thank you! |
Description
Move
yew/services
to a newyew-services
crate. This is one part of the work needed to be done for #1670.Checklist
cargo make pr-flow
Note: I've had some of the stdweb tests fail, don't know why
Not applicable, only refactoring
Note: I ensured that this code compiles with both
web_sys
andstdweb
but I ran the tests only withweb_sys