lax.js icon indicating copy to clipboard operation
lax.js copied to clipboard

Fix: Infinite loop encountered in the on-update example

Open ac-mmi opened this issue 6 months ago • 0 comments

@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.

ac-mmi avatar Aug 18 '24 16:08 ac-mmi