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 (3,859 stars) (615 forks)batch import
bughelp wanted

Description

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

Contributor guide