Spike: investigate possible for upgrade react-codemirror2 from 1.0.0 to a version that is >=7.0.0.

Description

Investigate possible for upgrade react-codemirror2 from 1.0.0 to a version that is >=7.0.0.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Dmitriy LitvinenkoJune 18, 2021 at 10:54 AM
Edited

We can update `react-codemirror2` from `1.0.0` to `7.2.1` and `codemirror` from version `5.29.0` (https://github.com/scniro/react-codemirror2/blob/1.0.0/package.json#L35) to `5.61.1`. We have breaking changes in `react-codemirror2` version `3.0.0`. In `react-codemirror2` version `3.0.0` was added `Controlled` and `UnControlled` components instead of `CodeMirror` component (https://github.com/scniro/react-codemirror2/tree/3.0.0). We can easy fix current problem migrate to `Controlled` component and adding `onBeforeChange` (https://github.com/scniro/react-codemirror2#controlled-usage).

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 4, 2021 at 10:12 AM
Updated June 24, 2021 at 7:57 AM
Resolved June 18, 2021 at 10:55 AM
TestRail: Cases
TestRail: Runs