I'm writing a custom addon to help debugging, to show some internal state in a panel. I've created a "local addon" to solve this.
Currently, as I followed the Addon Tutorial (https://storybook.js.org/tutorials/create-an-addon/react/en/track-state/), I'm using Globals to share state between the two, but I get the idea this is not correct.
How should I share/copy state (or just send messages) between my panel and the decorator, on a per story basis?