remove method called when Vue.$destroyed called
See original GitHub issueHi, i just noticed something really weird !
If i leave my Vue component “rapidly” the remove() method from filepond is called (and all my files are removed from server…)
So, i inspect the stack trace and i got :
destroy (vue.js) > Vue.$destroy (vue.js) > beforeDestroy (vue-filepond.js:178) > destroy (filepond.js:9203) > dispatch (filepond.js:78) > ABORT_ALL (filepond.js:4265)
And ABORT_ALL fire remove method from filepond, except i’m just leaving my Vue component at this point.
It’s kind of a annoying to lose all my files because i just change page too rapidly 😕
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Is Vue's 'destroyed' method called on page refresh?
No, destroyed method called if your component's controller lost or you manually destroy, above example is for manually destroy. I have found ...
Read more >Understanding Vuejs Lifecycle hooks | by Samuel Tope
Destroyed — Called after a Vue instance has been destroyed. When this hook is called, all directives of the Vue instance have been...
Read more >Understanding Vue.js Lifecycle Hooks - DigitalOcean
Lifecycle hooks allow you to know when your component is created, added to the DOM, updated, or destroyed. This article will introduce you...
Read more >Vue js tutorial for beginners # 21 beforeDestroy and destroyed ...
this is vuejs tutorial we learn what is a beforeDestroy and destroyed a method in vue life cycle hooks in vue js with...
Read more >Introduction to Vue lifecycle hooks - LogRocket Blog
This Vue lifecycle hook is called just before a Vue instance is destroyed, the instance and all the functionalities are still intact and...
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
The bug seems to be fixed ! Thanks a lot 😃
Try
4.3.7