Warning: Cannot update during an existing state transition (such as within `render`). Render 报错

原来

 Warning: Cannot update during an existing state transition (such as within `render`). Render 报错

 

 修改(不用在构造函数里面定义)Warning: Cannot update during an existing state transition (such as within `render`). Render 报错

上一篇:codechef Scoring Pairs


下一篇:[6 kyu] Highest Scoring Word