标签: javascript reactjs react-hooks
我正在使用带有两个依赖项的 useEffect
useEffect(() => { if(this is not the first time useEffect is called which means calls after componentDidMount){ //my operations } }, [props.inputs, props.inputLabels]);
有没有办法控制这个??