securingsincity/react-ace

setState in onChange will block the editor

Open

#181 opened on Mar 22, 2017

View on GitHub
 (14 comments) (13 reactions) (0 assignees)JavaScript (615 forks)batch import
bughelp wanted

Repository metrics

Stars
 (3,859 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  onChange(newValue) {
    this.setState({ code: newValue });
    console.log('change', this.state.code);
  }

Contributor guide