Replies: 2 comments 1 reply
-
i can confirm that i am experiencing the same issue. Versions i am using in my setup: "vite": "^3.2.2", |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm facing the same issue. I spent a lot of time wondering why the state in my component is not updating when a change was triggered from the story. I'm using Histoire v0.16.1. Is there any solution/workaround? My component depends on the value from store to render, so I'm unable to test this one at all. 🙁 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ran into what might be an issue or a configuration problem where a story wouldn't use the same pinia instance as the components the story renders.
Here is a replication: https://stackblitz.com/edit/histoire-vue3-starter-djkrtr?file=src%2FBaseButton.story.vue,src%2FBaseButton.vue
In this example I would expect the state
side
to be the same value in both the story and component button however they are not coupled.I found a similiar discussion here: #151 but am unsure how to then have access to the app store for example in the stories template. I tried using
Beta Was this translation helpful? Give feedback.
All reactions