2 ms·
I applaud the misuse of React! We've seen a lot of raycasters, so one made with React and hooks isn't a bad thing. Interesting code of using useRef with your
by adamredwoods 7y ago
I applaud the misuse of React!
We've seen a lot of raycasters, so one made with React and hooks isn't a bad thing.
Interesting code of using useRef with your state, and then useEffect to update it every render. A simple/better Redux?