When switching to a docs page, addons don't render and thus the VTA addon is destroyed, losing all internal React state. By synchronizing local state with sessionStorage, this problem is circumvented.
📦 Published PR as canary version: 1.3.0--canary.274.0843e22.0
:sparkles: Test out this PR locally via:
```bash
npm install @chromatic-com/storybook@1.3.0--canary.274.0843e22.0
# or
yarn add @chromatic-com/storybook@1.3.0--canary.274.0843e22.0
```
When switching to a docs page, addons don't render and thus the VTA addon is destroyed, losing all internal React state. By synchronizing local state with sessionStorage, this problem is circumvented.
📦 Published PR as canary version:
1.3.0--canary.274.0843e22.0
:sparkles: Test out this PR locally via: ```bash npm install @chromatic-com/storybook@1.3.0--canary.274.0843e22.0 # or yarn add @chromatic-com/storybook@1.3.0--canary.274.0843e22.0 ```