0

I am using useEffect with two dependicies

useEffect(() => {
   if(this is not the first time useEffect is called which means calls after componentDidMount){
     //my operations
   }
}, [props.inputs, props.inputLabels]);

Is there a way to control this??

burakarslan
  • 245
  • 2
  • 11

0 Answers0