-
Notifications
You must be signed in to change notification settings - Fork 49
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
react/lib/Object.assign not in react 0.15 #14
Comments
Thanks for pointing this out @jdart. Would you mind providing a link to the source of the React team's recommendation? I would like to include the reference in the change log when I add the lodash dependency. |
I think this is the main discussion: facebook/react#6376 Apparently you could use the spread operator instead of Object.assign. React is now using the npm package object-assign. |
There's a nice workaround here from @pascalpp react-ga/react-ga#53 |
It looks like React is including the |
Module not found: Error: Cannot resolve module 'react/lib/Object.assign' in .../node_modules/react-css-transition-replace/lib
Apparently the react team suggests using lodash/underscore for utility functions now.
The text was updated successfully, but these errors were encountered: