will only render when props change or when anything calls invalidate(). react-spring does that automatically for instance but you can use anything and basically just invalidate in onChange and it'll be fine. this will completely stop doing anything when nothing's moving, battery will be fine. great game btw! :-)
5
u/azangru Mar 18 '22
How's the battery usage?