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

Use object-assign instead of deprecated React's polyfill #52

Merged
merged 1 commit into from
Apr 8, 2016

Conversation

ingro
Copy link
Contributor

@ingro ingro commented Apr 8, 2016

For what I understand with React 15.0 the core team removed their internal polyfill of Object.assign for an updated one (here's the issue).

This PR should make react-headroom compatibile with React 15.0.

@Plummat
Copy link

Plummat commented Apr 8, 2016

Hah, I just did this too. good to see someone beat me to it :)

@KyleAMathews
Copy link
Owner

Awesome! We also need to wait until facebook/react#6444 is shipped as __spread was removed. I'll merge this and then make a new release later today after 15.0.1 is released.

@KyleAMathews KyleAMathews merged commit 7b66420 into KyleAMathews:master Apr 8, 2016
@KyleAMathews
Copy link
Owner

Just published 1.8.1 w/ this. Thanks!

@ingro
Copy link
Contributor Author

ingro commented Apr 8, 2016

No problem, thanks to you for your work!

This pull request was closed.
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.

3 participants