tinymce / tinymce-react

Offical TinyMCE React component
MIT License
937 stars 152 forks source link

v3.12.6 peerDependencies Resulting in the introduction of React 17.0.2 into my project #486

Closed debughao closed 7 months ago

debughao commented 7 months ago

"peerDependencies": { "react": "^17.0.1 || ^16.7.0", "react-dom": "^17.0.1 || ^16.7.0" }, instead of "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" }

exalate-issue-sync[bot] commented 7 months ago

Internal Ref: INT-3260

danoaky-tiny commented 7 months ago

~~If I understand your problem correctly, you'll either need to downgrade your version of tinymce-react to a version that supports React v16, or upgrade your version of React. Which at that point you may as well look into upgrading to the latest version of each and weigh up how much work the migration is. Let us know if that helps.~~ Edit: Already supports v16 of React.

debughao commented 7 months ago

Can tinymce-react support react 16 or later? peerDependencies: change react to >=16.x

danoaky-tiny commented 7 months ago

My mistake, it already supports React v16. See: https://github.com/tinymce/tinymce-react/blob/e2b1907eadb751f81e01d8239fdf876e77430d43/package.json#L33