Pattern for avoiding circular dependency in Dash callbacks

Note: this is a WIP: I just realize we’re facing the same issue (two callbacks fired at the same time)

Here is a logic way that could work:

You have to create a hidden placeholder_div. When you click on the button, you will update the content of this placeholder_div. You make sure you actually change it by reading its content using a State