React – Properly triggering callback that represents a state change event from react component – Javascript
In an app I am building a custom range slider. I have a state that maintains the current value and also a prop that is exposes a callback triggered on change of this internal state. Below is how I am…