Kai Pradel

Results 1 comments of Kai Pradel

Instead of the requestanimationframe hack, you can use useRef to store a class variable. ``` const firstUpdate = useRef(true); useEffect(() => { if (firstUpdate.current) { firstUpdate.current = false; return; }...