yew
yew copied to clipboard
remove unnecessary allocation and clone
Description
minor optimizations during code review.
Checklist
- [ ] I have run
cargo make pr-flow - [ ] I have reviewed my own code
- [ ] I have added tests
Visit the preview URL for this PR (updated for commit 4293cbb):
https://yew-rs-api--pr2621-opt-w2rrrb0a.web.app
(expires Mon, 02 May 2022 19:17:53 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Size Comparison
| examples | master (KB) | pull request (KB) | diff (KB) | diff (%) |
|---|
✅ None of the examples has changed their size significantly.
Seems this PR got forgotten in time. I recon A separate PR can be made if we still need this.