The output of the callback functions 1 and 2 is the same. But their inputs are different.
When there is only the first callback function, the callback function works normally.
However, if Iwrite the callback function number 2, both number 1 and number 2 do not work.
Even if I write a code like No. 3, nothing is printed.
It’s silly that I can’t have a “reset” button pattern that clears a component’s children just because some other callback created that component’s children. The reset state would have to become an input to the creation callback.
Is preventing multiple callbacks from sharing a common output either: (a) hard-wired into how the callback DAG works, or (b) more of a preventative best-practice-like measure?
@HashRocketSyntax I believe sharing a common ouput between callbacks will be feature of Dash at some point, but current it is not possible to do directly (it is not just a best practices thing, you’ll get a error if you do it). That being said, the MultiplexerTransform from dash-extensions should cover most cases, so I would recommend using it until a native Dash solution is in place