question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

remove method called when Vue.$destroyed called

See original GitHub issue

Hi, 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:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
Wifsimstercommented, Apr 8, 2019

The bug seems to be fixed ! Thanks a lot 😃

0reactions
rikschenninkcommented, Apr 8, 2019

Try 4.3.7

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found