Skip to content

setState() not changing the "value" props in Editor.render()?  #13

Closed
@tomkcey

Description

@tomkcey

Greetings,

In this code, when I change the state of the component with setState(), it does go into the render() method, but does not actually change the display to reflect the new state.

I placed the this.state in the "value" props of the Editor component.

Here's a link to the code: demo-jsoneditor-react

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