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??