message: Added componentWillRecieveProps
diff: @@ -143,6 +143,12 @@ export default class QueryBuilder extends React.Component {
  };
  }
  + componentWillReceiveProps(props) {
  + if (this.props.query !== props.query) {
  + this.setState({ root: props.query });
  + }
  + }
  +
  componentWillMount() {
  const {fields, operators, combinators, controlElements, controlClassnames} = this.props;
  const classNames = Object.assign({}, QueryBuilder.defaultControlClassnames, controlClassnames);
  