Closed inoas closed 6 years ago
@inoas That's not the upgrade, just a subsequent hot-commit to fix something with CI. Check out what's new in 3.0.0. I suspect you'll see why this is a major relase.
Thanks, would have been great to have that new in 3.0.0. doc linked from the tag summary page instead of just "ci": https://github.com/scniro/react-codemirror2/releases/tag/3.0.0
I will try to make it work and report back
The only change required for us was:
import CodeMirror from 'react-codemirror2';
import {UnControlled as CodeMirror} from 'react-codemirror2';
Once my colleague is back we will investigate if it is better to use a controller component.
It must have just took the last commit message as I didn't actually have any sort of description in there. I linked to that section of README.md
now. FWIW There should have been some notes in CHANGELOG.md
as well.
Cool, keep me posted!
When I first saw the 3.0.0 tag diff I did not think a new major release was warranted.
However for us before things just run smoothly, afterward upgrading we get this error: