-
-
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
Make UseFutureHandle Clone #3529
Conversation
Benchmark - coreYew Master
Pull Request
|
Visit the preview URL for this PR (updated for commit d4f8b6d): https://yew-rs-api--pr3529-clone-usefuturehandl-gaf7a4nd.web.app (expires Fri, 24 Nov 2023 13:47:33 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Size Comparison
✅ None of the examples has changed their size significantly. |
Benchmark - SSRYew Master
Pull Request
|
Adding |
…erg1/yew into clone_usefuturehandle
7d51246
to
d4f8b6d
Compare
Ok I fixed it. TIL that
instead of what I intended:
|
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.
Looks good to me
Is there a reason it hasn't been merged yet? |
Description
This change makes
UseFutureHandle
implementClone
. All otherUseXHandle
structs have a cheap clone that callsRc::clone
internally, so I thinkUseFutureHandle
should also have this functionality.Checklist