-
Notifications
You must be signed in to change notification settings - Fork 169
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
CSSPropertyOperations moved to react-dom #103
Comments
Please note that React does not officially support importing these modules at all. Instead of changing the path we encourage you to inline the code you rely on. |
i posted this comment in an older issue, but I figured it would be better add it here instead: this is an issue with react and the related packages bumping to 15.4.0 today. I downgraded all of these packages:
and this error went away. |
To be clear the issue is not with React. It is with libraries that import internal modules from React which was never supported. Please check out the release notes. The fix is for authors of |
See #105 |
Yep, @gaearon is correct. This is not React's fault. All internal modules from React were removed, so future minor versions of React should not break this module. Thanks! |
Thanks for quick response! |
for the temporary fix, I added below library in my dependencies "only-react-css-property-operations": "^1.0.1". It fixed the issue for now. |
Hi,
I noticed that
CSSPropertyOperations
has been moved toreact-dom
. so only change needed for me was atimport CSSPropertyOperations from 'react/lib/CSSPropertyOperations';
to
import CSSPropertyOperations from 'react-dom/lib/CSSPropertyOperations';
ref: facebook/react#7770 (comment)
The text was updated successfully, but these errors were encountered: