Upgrading react-copy-to-clipboard 4 to 5
Breaking4.3.1 → 5.1.1Platform2Changed2Other7
BreakingUpgrade verdict
2 platform requirement changes.
In plain terms
- The package now officially supports React 18, so projects on React 18 can install it without peer dependency warnings.
- The package now officially supports React version 17.
Must act 2 items need code or config changes
Drops create-react-class.
Installs 7 packages in all (was 8).
What you must change
Platform2
Adds React 18 to the peer dependency range.
Adds React v17 to the peer dependency range.