pmndrs / react-three-fiber

🇨🇭 A React renderer for Three.js
https://docs.pmnd.rs/react-three-fiber
MIT License
27.65k stars 1.6k forks source link

fix: correctly pass frames in invalidate #3185

Closed AlaricBaraou closed 8 months ago

AlaricBaraou commented 9 months ago

Currently frames is passed as a second argument of forEach, which does nothing in the way we use invalidate. I assume it's a mistake and was intended to be passed as a second parameters of invalidate()

codesandbox-ci[bot] commented 9 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 9320a109950925ba8d8c1b2d333d4dc222860515:

Sandbox Source
example Configuration