Open RonBonBon opened 2 months ago
It seems you have created a new issue from an issue that was already solved and closed. https://github.com/pmndrs/leva/discussions/393#discussioncomment-3881633
Your problem is unclear because this is a verbatim copy of just one of the comments from the original thread.
Hey @Sean-Bradley, a few observations:
exhaustive-deps
lint rule in general, as long as you know what you're doing. We actually do that a lot in Leva 🤧However, here the solution to your problem is pretty obvious:
And if you're a fan of the reduce function:
Originally posted by @dbismut in https://github.com/pmndrs/leva/discussions/393#discussioncomment-3881633