given this code snippet:
const [filled, setFilled] = useState(0); //... useEffect(() => { console.log("start"); setFilled(() => {