securingsincity/react-ace

setState in onChange will block the editor

Open

#181 opened on Mar 22, 2017

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

Repository metrics

Stars
 (3,859 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide