Skip to content

Bug: React Strictmode not hydrating properly #324

@fras2560

Description

@fras2560

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions