What does 'Only a ReactOwner can have refs.' mean?

前端 未结 12 2555
时光说笑
时光说笑 2020-11-27 15:50

I have a simple react component with a form in it:

var AddAppts = React.createClass({
    handleClick:          


        
12条回答
  •  Happy的楠姐
    2020-11-27 15:59

    Rearranging the script resolved the issue.

    Wrong.

    
    
    
    

    Correct

    
    
    
    

    Reference https://github.com/gcanti/tcomb-form/issues/107#issuecomment-150891680

提交回复
热议问题