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

Implement PartialEq for ChildrenRenderer #916

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

jstarry
Copy link
Member

@jstarry jstarry commented Feb 2, 2020

Fixes: #907

Problem

It's not easy to check that the children of a component didn't change.

Changes

  • Expand PartialEq for VNode to include VRef and VList
  • Implement PartialEq for ChildrenRenderer<T: PartialEq> (This will implement it for Children because it's just an alias for ChildrenRenderer<VNode>

@jstarry jstarry merged commit aedce8b into yewstack:master Feb 4, 2020
@jstarry jstarry deleted the partial-eq-children branch February 4, 2020 12:16
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

Successfully merging this pull request may close these issues.

Implementing change for children
1 participant