I am working on a project where we use the controlled CodeMirror. The app is starting to use strict mode for React. When Strict Mode is wrapped around the CodeMirror it will not render the passed in value correctly.
From what I see the controlled code mirror uses a variable hydrated. However, when unmounting and remounting the underlying doc is not re-hydrated.
Relates #319