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

[theme] Use isPlainObject to avoid dropping prototypes #12100

Merged

Conversation

kivlor
Copy link
Contributor

@kivlor kivlor commented Jul 9, 2018

Closes #12031

@oliviertassinari oliviertassinari changed the title WIP: Use isPlainObject with deepclone To Avoid Dropping Prototypes [theme] Use isPlainObject to avoid dropping prototypes Jul 10, 2018
@oliviertassinari oliviertassinari added the new feature New feature or request label Jul 10, 2018
@oliviertassinari oliviertassinari merged commit f572e46 into mui:master Jul 10, 2018
@oliviertassinari
Copy link
Member

@kivlor +0.3 kb gzipped is an acceptable tradeoff for the feature it's unlocking. It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!

@kivlor
Copy link
Contributor Author

kivlor commented Jul 10, 2018

@oliviertassinari no worries 👍

acroyear pushed a commit to acroyear/material-ui that referenced this pull request Jul 14, 2018
* use isPlainObject with deepclone to avoid droping prototypes

* revert yarn.lock

* missing newline

* increase size-limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants