-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vuejs: the stories are executed twice #1742
Comments
Hi! I could not reproduce it. |
Hi @kazupon! Nothing extra in my configuration, I used the CLI and added the created method. I did notice that this happen only on first init, so only when refreshing the browser page manually, it doesn't happen when switching to another story. Anyway, here is the test repo https://github.com/miljan-aleksic/test-storybook. Switch to MyButton story, refresh the page and check the console.log. Tested with Chrome. |
@miljan-aleksic I checked it. it's bug. |
Fixed lifecycle twice executing (close #1742)
Call me crazy but this seems to have regressed? I just ran the above steps to reproduce (from the fix #1983), this time on double_created_demo.mov |
Changing props via the Controls add-on seems to be triggering multiple updates as well. |
Hi @kazupon and @miljan-aleksic, would you please consider re-opening this issue for us? Thank you in advance! |
Bumping this, seeing the same behavior in 2023 |
Hi, I detected my components are executed twice, at least when using Vuejs (didn't try with React). I am testing with latest 3.2.8 version. To reproduce just create a simple story like this:
The component above should be inited once, but is done so twice. Can anyone try and confirm this issue?
The text was updated successfully, but these errors were encountered: