Batching Callbacks

Hello,

I have a custom dash component that has drag functionality. As you drag something, the dash prop updates many times. I have a callback based on this dash prop and it’s called hundreds of times, making the response time slow. Is there anyway to limit the amount of time the callback fires off?

Right now, the only way to do it is within your component code - implement throttling on your setProps call.

Thank you. I will implement that. I’ve also switched the callback to be triggered at an interval rather than by the component update. It seems to work