-
Notifications
You must be signed in to change notification settings - Fork 110
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
Incompatible with React 16 (crashes at runtime) #82
Comments
Any plan with this? |
Or one can use Dominis13/react-tinymce directly from github until this package gets updated: Probably a bit less cumbersome than the webpack config workaround. |
Having problem deploying the version: Dominis13/react-tinymc UglifyJs complaints on the line: let count = 0; |
@tknuts I had the same issue, then I forked Dominis13's repo and fixed the entry point. |
Oh, I also had to change my require to But yes, changing the entry point is an even cleaner solution. |
@rockia Your version did the job for me :-) Thanks... will use it until the original one gets up to speed on React 16 👍 |
0.7.0 was just published, which should resolve this issue (it's working fine for me with React 16). |
Related: #60 #61 #71 #72 #77
React.PropTypes
should be replaced byimport PropTypes from 'prop-types'
, andReact.createClass
byimport createClass from 'create-react-class'
.In case anyone is blocked on this preventing upgrading to React 16, the following webpack config snippet can hack a workaround:
The text was updated successfully, but these errors were encountered: