-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Cleanup ImplicitClone related stuff in the examples #3508
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
Open
cecton
wants to merge
30
commits into
yewstack:master
Choose a base branch
from
cecton:cleanup-implicit-clone-related-stuff
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
32df544
Use cheap-to-clone types more
cecton fe3636d
Use IArray in NodeSeq & add IntoPropValue for &AttrValue
cecton d0cfdcb
Add function get_mut() on VChild to make things easier
cecton 77b2656
Use AttrValue in timer_functional example
cecton 71bcd09
Allow iterating over ref of ChildrenRenderer
cecton 2401701
Revert "Allow iterating over ref of ChildrenRenderer"
cecton 12aa26d
Still allow ref on childrenrenderer but do not use IArray for now
cecton 46e12dc
rustfmt nightly
cecton ada85f4
Merge commit 8d2cfdee69fa69625d36ca784a0644e5dd0d5334 (no conflict)
cecton 863f174
Revert changes on NodeSeq because I'm not sure it's useful at all
cecton 8242f53
Improve example, less clone() necessary
cecton fc402b1
Optimize VList creation from ref ChildrenRenderer
cecton a9f9f93
Very unfortunate consequence of recent refactoring on implicit-clone
cecton 21f04ef
The Vecs are actually of identical types...
cecton ba0b64f
Use Rc<Vec<VNode>> in ChildrenRenderer to avoid needless clones
cecton 3b0eac8
Avoid unnecessary allocation
cecton 13676be
Fix invalid use of as_ref()
cecton 47e9651
Oh actually it was useful
cecton a80d1d4
Fix: NodeSeq now requires OUT to implement ImplicitClone
cecton ab1e138
Revert unnecessary change
cecton 38d45d9
Simplify code, restore original with_children() signature, optimize
cecton aa788c3
clippy
cecton bc96cc7
oops
cecton 0a9a3bc
Less allocations probably
cecton d7e4acf
Code duplication
cecton 25f3494
Trigger CI
cecton 64c4b63
Upgrade implicit-clone to 0.4.7 and use derive macro when possible
cecton a5e90d0
Merge commit 1d889347a6205a2dc79c1d1fea9d49092c0627db (no conflict)
cecton b9baa29
Fix bad location for symbol in test
cecton 224e08b
Update implicit-clone to 0.4.8
cecton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.