lax.js
lax.js copied to clipboard
Fix: Infinite loop encountered in the on-update example
@alexfoxy This pull request addresses #188 issue.
In this update, I have implemented a check for previous values to ensure that the onUpdate()
function is only triggered when there is a change in the driver values. This enhancement prevents unnecessary updates and ensures that the onUpdate()
callback is called only when there are actual changes in the values.