Jake Kingston

Results 2 comments of Jake Kingston

@TrejGun This is fixed by changing the dependency of your useEffect fn to just `fields`: https://codesandbox.io/s/react-final-form-field-arrays-onrfv

@TrejGun That error is because the useEffect dependency argument expects an array, ie. ``` useEffect(() => { if (fields.length < 5) { fields.push(); } }, [fields]); ```