react-tweakpane
react-tweakpane copied to clipboard
some updates to hooks
This is a great project and with a lot of potential. Hopefully it continues to evolve. I tried to update as many things as possible, however, there are two things that really got me.
- https://github.com/MelonCode/react-tweakpane/blob/25258dc70cba02b5375335ce70c8793d898dd6d0/src/hooks/usePaneInput.ts#L70
// inputRef.current.controller_.binding.target.write(value) // not longer works
inputRef.current.controller.value.binding.write(value) // proposed solution?
and
- https://github.com/MelonCode/react-tweakpane/blob/25258dc70cba02b5375335ce70c8793d898dd6d0/src/hooks/usePaneInput.ts#L91
inputRef.current = input
is not longer valid. Not sure on how to move forward here.
Also, updated dependencies are also missing in this PR.
all the changes here, work in my local dev app. So, I guess there is no issues then 😄 .
Thank you for the update, I didn't had a lot of time for support recently 🙏
Will post update to NPM in near time
ohh... I did some more, but didn't push, I should do a new PR then, with the latest.