Maximum update depth exceeded. This can happen when a component calls setState inside useEffect,

前端 未结 0 558
臣服心动
臣服心动 2021-01-26 07:01
 useEffect(() => { 
      const onChildAdd = database().ref(\'/User/\' + user.uid ).on(\'value\', snapshot => {
    setComplete(snapshot.val().Complete);
    setUs         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题