title: How to fix Warning about React.forwardRef() after update Ant Design?
body: <p>After updating Ant to version 3.16.6, console shows this warning:</p>
  
  <blockquote>
    <p>Function components cannot be given refs. Attempts to access this ref
    will fail. Did you mean to use React.forwardRef()?</p>
  </blockquote>
  
  <p><b>This appear only when my child component is wrapped in <code>form.getFieldDecorator()</code>. Case without <code>getFieldDecorator()</code> works successfully.</b>
  PS: My child component is not a Function Component, it's statefull.</p>
  
  <p>In the past, I had version 3.11.0 and it worked fine.</p>
  
  <p>The code is a simple case, not much:</p>
  
  <p>HOC</p>
  
  <pre><code>[...]
  render() { 
      return (
          &lt;&gt;
              &lt;Form.Item&gt;                                         
                  {form.getFieldDecorator('descricaoUnidadeTrabalho', {rules})(
                      &lt;MyChild 
                          props={props} 
                          onChange={id =&gt; form.setFieldsValue({ id })}
                      /&gt;
                  )}
              &lt;/Form.Item&gt;
          &lt;/&gt;
      )
  }
  
  export default connect(mapStateToProps, mapDispatchToProps)(
      Form.create()(MyComponent)
  );
  </code></pre>
  
  <p>Child Component</p>
  
  <pre><code>[...]
  render() {
      return (
          &lt;Select props&gt;
              &lt;Select.Option key={id} value={id}&gt;
                  {value}
              &lt;/Select.Option&gt;
          &lt;/Select&gt;
      ); 
  }
  export default MyChild;   
  </code></pre>
  
  <p>What can go wrong in my case, could you please advise me?</p>