Black Lives Matter. Please consider donating to Black Girls Code today.

Dash 1.11 chained callbacks multiple calls reduced

The difference between initial callbacks from Dash 1.10 to Dash 1.11 is huge for most of my programs. For instance, for Dash 1.10 a program with four callbacks fires up with

1, 1, 4, 3, 2, 4, 4, 4, 4, 3, 4

now with Dash 1.11 it fires up with

1, 2, 1, 3, 4

This is much better. Have others experienced this? I could cite ten other examples. Is there an explanation for this?

1 Like

Indeed! We refactored a lot of this code in order to make pattern matching callbacks possible, fixing many callback resolution bugs along the way. see 📣 Dash v1.11.0 Release - Introducing Pattern-Matching Callbacks and 📣 Dash v1.12.0 Release - Pattern-Matching Callbacks Fixes, Shape-drawing, new DataTable conditional formatting options, prevent_initial_call, and more

Hi @chriddyp Thanks for the confirmation and the resolutions … I used to wonder why my code was so flaky. :wink:

1 Like