You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value only gets logged on the initial renders, but changing the value does not cause new values to be printed. I would expect that as the value changes, the internal onChange handler from react-spring would fire.
Ultimately, the reason for #27 and now this issue is that I want to update a Three.js data structure in-place without triggering a bunch of re-renders for the component.
The text was updated successfully, but these errors were encountered:
There's something generally broken about the example. Changing the box position and subsequently changing the rotation causes the position to visually reset, even thought the position value hasn't changed in the panel.
When adding in the log statement from my previous comment, you'll also notice that when the component re-renders from a change in rotation it always logs the position as zero.
To reproduce:
onChange: console.log
The value only gets logged on the initial renders, but changing the value does not cause new values to be printed. I would expect that as the value changes, the internal
onChange
handler from react-spring would fire.Ultimately, the reason for #27 and now this issue is that I want to update a Three.js data structure in-place without triggering a bunch of re-renders for the component.
The text was updated successfully, but these errors were encountered: