Vuejs: the stories are executed twice
See original GitHub issueHi, 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:
<script>
export default {
created () {
console.log('should execute once')
}
}
</script>
The component above should be inited once, but is done so twice. Can anyone try and confirm this issue?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Why is the script run twice? - vue.js
The markup that contains <main> and your custom <script> is executed immediately upon loading the page (before Vue even runs), ...
Read more >How To Create Reusable Blocks of Code with Vue Single- ...
When creating a web application using Vue.js, it's a best practice to ... Next, in the root directory, run the following command in...
Read more >Method runs twice in v-for - Get Help - Vue Forum
Hi, I have a problem with a method called twice in a v-for. It's for a builded navigation item class. Problem: I'm iterating...
Read more >Five Traps to Avoid While Unit Testing Vue.js
The Third Trap: Test Doubles · A Test Double is abstract. · A Dummy has all the methods but does nothing. · A...
Read more >Why does useEffect Run Twice in React v18.0?
... it wasn't like I knew it before. Yes, you read that right, it prints Call! twice… ... You have 2 free member-only...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @kazupon and @miljan-aleksic, would you please consider re-opening this issue for us? Thank you in advance!
@miljan-aleksic Thank you for your feedback!
I checked it. it’s bug. I’ll try to fix it later.