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

Derive PartialEq for Classes #680

Merged
merged 1 commit into from
Oct 7, 2019

Conversation

hgzimmerman
Copy link
Member

I want to pass structured classes via props, but not have them interfere with my ability to reassign and rerender those props in change using shortcut methods that depend on PartialEq being implemented on my Props.
Adding PartialEq to Classes removes the trouble of having to manually implement PartialEq for the entire Props if Classes is part of it.

@jstarry jstarry merged commit 8b671cf into yewstack:master Oct 7, 2019
@hgzimmerman hgzimmerman deleted the partial_eq_for_classes branch October 7, 2019 17:45
jstarry pushed a commit that referenced this pull request Oct 13, 2019
hgzimmerman added a commit to hgzimmerman/yew that referenced this pull request Oct 14, 2019
llebout pushed a commit to llebout/yew that referenced this pull request Jan 20, 2020
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.

2 participants