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

make sure the props object is not mutated #62

Merged
merged 1 commit into from
Feb 21, 2015

Conversation

phated
Copy link
Contributor

@phated phated commented Feb 21, 2015

While working on omniscient-dom, I noticed that my tests prop object was being mutated. key, statics and children were being attached and affecting later tests. I've updated create to have local props that are extended by the passed key, props, statics and children.

@mikaelbr
Copy link
Member

Good change. Thanks!

mikaelbr added a commit that referenced this pull request Feb 21, 2015
Makes sure the `props` object is not mutated
@mikaelbr mikaelbr merged commit 67c17a1 into omniscientjs:master Feb 21, 2015
@torgeir
Copy link
Member

torgeir commented Feb 21, 2015

👍

@dashed
Copy link
Contributor

dashed commented Feb 22, 2015

👍 Just ran into this.

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.

4 participants